You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a NumberInput and I want the German number format. In German, they use comma , instead of . fr their float numbers.
Code
consthandleNumberInputChange=(property: string,value: number)=>{// Currently, the user enters numbers in this format 1.1 | 2.2// However, I want him that format 1,1 | 2,2dispatch(updatePanelMeasures({ ...measures,[property]: value}))}<NumberInputicon={TextQuote}placeholder='1.1'max={1}min={0.1}step={0.1}className='mt-2 min-h-11'value={measures.border}onValueChange={(border)=>handleNumberInputChange("border",border)}/>
What is expected?
.
What is actually happening?
.
What browsers are you seeing the problem on?
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered:
Tremor Version
latest
Link to minimal reproduction
.
Steps to reproduce
I have a NumberInput and I want the German number format. In German, they use comma , instead of . fr their float numbers.
Code
What is expected?
.
What is actually happening?
.
What browsers are you seeing the problem on?
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: