-
Notifications
You must be signed in to change notification settings - Fork 401
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
Small feature to introduce step prop for number fields #916
Small feature to introduce step prop for number fields #916
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@shannonhochkins is attempting to deploy a commit to the Measured Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Thanks @shannonhochkins!
Just has some conflicts, and needs formatting (npm run format
+ commit).
…tep-attribute-for-number-fields
Of course there was a change to the same files I was working on since i pushed :D - Fixed and ran format |
This introduces a very small change to add a
step
attribute for number field types.Usage - I have a field for opacity, it's value should be between 0-1, the default step value for number fields is 1, so I can't use my keyboard / arrow buttons on the field to increment a smaller amount without typing the value myself.
This is a low level feature change - unsure if i've missed anything else in the repo that needs to be updated!