Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI_Form Expose Step and/or Min attributes for Numeric Input Field #368

Closed
scottrcarlson opened this issue Mar 19, 2018 · 1 comment
Closed

Comments

@scottrcarlson
Copy link

Requesting a Step and Min field for Numeric type input fields inside of UI_Form.

Chrome defaults to step="1" which limits the input to integer only. Setting to step="any" would be ideal to allow all floating point values, but may not work inside of a form.

Suggesting step="0.001" to account for "reasonable" range.

Thanks for the great work!

@dceejay
Copy link
Member

dceejay commented Mar 20, 2018

Actually step="any" does seem to give best of both worlds... - up/down step still is 1 - but allows you to enter floating point... Thanks.

@dceejay dceejay added this to work in progress - not yet on npm in Dashboard - Things to do Mar 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants