#NumberInput decimals
3 messages · Page 1 of 1 (latest)
<NumberInput precision={isMyNumberWhole ? 0 : 2} />
And how would i accept both "," and "." as separator
3 messages · Page 1 of 1 (latest)
So i would love to have the NumberInput componetnt to show my number as a whole number unless there is decimals behind it? Any good solutions for this one?
<NumberInput precision={isMyNumberWhole ? 0 : 2} />
And how would i accept both "," and "." as separator