-
I am using uniforms for dynamic questionnaire in our project. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @w-sr. In a way, this has nothing to do with uniforms - all you have to do is to provide a component that receives a numeric |
Beta Was this translation helpful? Give feedback.
Hi @w-sr. In a way, this has nothing to do with uniforms - all you have to do is to provide a component that receives a numeric
value
and callsonChange
with a number as well. Some libraries, like Ant Design, have such a formatting functionality built-in (docs, uniforms playground example). Material-UI does not, so you need to either implement it on your own or use an existing package. One that I found should work with Material-UI isreact-number-format
. Do let us know whether that worked for you!