Ngừng hoạt động một phầnshare-external
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 khoảng một tháng trước
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.

14 tháng 10 lúc 07:53
Flávio