Number field with decimals
1

When using a TextInput with input-type="number", there is no way of adding decimals to that field. Our use case is we are asking a client to enter an amount and they can only enter numbers but not decimals.

Is there any fix for that? or plan release to support decimals?

Thanks

Pablo
Đã hỏi vào Thứ Sáu
Câu trả lời được chọn
2

Hi Pablo, currently this is not supported and there is no plan to support that yet. To unblock your development, you could try using input-type="text" and parsing it to float in your backend.

5 giờ trước
Flávio