|
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? |
Answered by
lovasoa
Jan 20, 2025
Replies: 2 comments
|
You can use the select 'form' as component;
select 'amount' as name, 'number' as type, 0.01 as step; |
0 replies
Answer selected by
lozdown
|
Missed that! Thank you |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use the
stepparameter to configure the granularity of the input.