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

fix(select): Support integer values #142

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

Conversation

js-ta
Copy link

@js-ta js-ta commented Mar 4, 2025

This PR is an attempt to fix the issue described in #115 to be able to use integer values in select elements.

It simply handles an integers like a number is handled already in a select and prevents the withInteger schema from being added.

@sandrina-p
Copy link
Collaborator

Hi @js-ta, the team will review this some time next week, is that okay? :)

@js-ta
Copy link
Author

js-ta commented Mar 10, 2025

That's fine for me.

@sandrina-p sandrina-p changed the title Support integer values in select element fix(select): Support integer values Mar 13, 2025
@sandrina-p sandrina-p force-pushed the select-with-integer-value branch from 3e84ee3 to 91cc303 Compare March 13, 2025 08:46
@@ -1,6 +1,6 @@
{
"name": "@remoteoss/json-schema-form",
"version": "0.11.11-beta.0",
"version": "0.11.12-dev.20250313084704",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @js-ta! We are building the next major version of JSF, which will include your bugfix/feature. For that reason we won't review your PR, so we can focus on shipping the next version as soon as possible.

In the meantime, here's a dev release based on this PR to unblock you:

npm i @remoteoss/json-schema-form@0.11.12-dev.20250313084704

We hope that's okay for now. Thank you!

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