nextui/.changeset/polite-ravens-hide.md
Prakash Choudhary e6f36281cb
fix(components): number input label #2268 fixed (#2274)
* fix(components): number input label #2268 fixed

* fix(component): comments resolved

* fix(component): format with prettier

---------

Co-authored-by: Prakash Choudhary <prakashchoudhary@Prakashs-iMac.local>
2024-02-21 23:12:44 -05:00

321 B

@nextui-org/input
patch

Fix #2268, when using a number input and with a 0 for the initial value, the label (default or labelPlacement='inside') does not animate to the correct position. Even when the user is setting the value to 0, the label does not alter its state unless a number other than 0 is inputted.