HeroUI Version
3.0.2
Describe the bug
NumberField resets its displayed value after parent re-render due to changed prop
Your Example Website or App
https://stackblitz.com/edit/vitejs-vite-rqadeopw?file=src%2FApp.tsx
Steps to Reproduce the Bug or Issue
Type a new value into the input. When the timer changes a prop on the wrapper, the NumberField resets to default value.
Expected behavior
I expect that the input should retain its value across re-renders.
Screenshots or Videos
No response
Operating System Version
macOS
Browser
Chrome
HeroUI Version
3.0.2
Describe the bug
NumberField resets its displayed value after parent re-render due to changed prop
Your Example Website or App
https://stackblitz.com/edit/vitejs-vite-rqadeopw?file=src%2FApp.tsx
Steps to Reproduce the Bug or Issue
Type a new value into the input. When the timer changes a prop on the wrapper, the NumberField resets to default value.
Expected behavior
I expect that the input should retain its value across re-renders.
Screenshots or Videos
No response
Operating System Version
macOS
Browser
Chrome