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

Constraints should defer from schema what step to use on inputs #496

Open
alexbjorlig opened this issue Oct 31, 2024 · 1 comment
Open
Labels
enhancement New feature or request
Milestone

Comments

@alexbjorlig
Copy link
Contributor

Would be incredible, if we could defer from the schema, what value the constratins should have for step on input type=number.

CleanShot.2024-10-31.at.10.23.56.mp4

Playground link: https://www.sveltelab.dev/ahyq3snzidrtlj8?files=.%2Fsrc%2Froutes%2Fschema.ts

@alexbjorlig alexbjorlig added the enhancement New feature or request label Oct 31, 2024
@ciscoheat
Copy link
Owner

This is a great suggestion, but I'm putting it as a v3 feature, since it's been like this for a long time and may cause some surprises if the constraints are suddenly modified from one (minor) version update to another.

@ciscoheat ciscoheat added this to the v3 milestone Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants