how to make a an input in a shadcn form into a controlled input
Unanswered
Pacific cod posted this in #help-forum
Pacific codOP
Hi
I want to automatically separate numbers with comma in real time when the user start typing. For this I know a controlled input is required but with a shadcn form every input is already a controlled input. How can I customise theses inputs and add my state
I want to automatically separate numbers with comma in real time when the user start typing. For this I know a controlled input is required but with a shadcn form every input is already a controlled input. How can I customise theses inputs and add my state