-
I have a form with a number field. This field needs to accept either an integer or real value input. However it will not allow me to enter a real number. This is a cut down version of the form select 'form' as component; If I input a value e.g. 20 the form accepts the value. If I input 20.7 it will reject the value and show a message 'Please select a valid value. The two nearest valid values are 20 and 21. Why is this and how do I configure the form field to accept integer and real values? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You can use the select 'form' as component;
select 'amount' as name, 'number' as type, 0.01 as step; |
Beta Was this translation helpful? Give feedback.
-
Missed that! Thank you |
Beta Was this translation helpful? Give feedback.
You can use the
step
parameter to configure the granularity of the input.