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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

shannonhochkins
Copy link

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 25, 2025 0:11am
puck-docs ✅ Ready (Inspect) Visit Preview Feb 25, 2025 0:11am

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).

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