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

Small feature to introduce step prop for number fields #916

Conversation

shannonhochkins
Copy link
Contributor

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!

Copy link

vercel bot commented Feb 25, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
puck-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 26, 2025 4:26pm
puck-docs ✅ Ready (Inspect) Visit Preview Feb 26, 2025 4:26pm

Copy link

vercel bot commented Feb 25, 2025

@shannonhochkins is attempting to deploy a commit to the Measured Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Member

@chrisvxd chrisvxd left a 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).

@shannonhochkins
Copy link
Contributor Author

Looks great! Thanks @shannonhochkins!

Just has some conflicts, and needs formatting (npm run format + commit).

Of course there was a change to the same files I was working on since i pushed :D - Fixed and ran format

@chrisvxd chrisvxd merged commit 0ea6ce4 into measuredco:main Feb 26, 2025
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants