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/radio): Add support for options with boolean type #89

Merged
merged 8 commits into from
Aug 19, 2024

Conversation

remotecom
Copy link
Collaborator

@remotecom remotecom commented Aug 16, 2024

Description
Adding validation for boolean values in Radio input type.

Internal ticket

Problem
Currently the validation for Radio inputs was set up for either string or number types. When using boolean values the validation defaulted to string and errored even if it was correct.

Solution
Adding a validation option for boolean types.

package.json Outdated Show resolved Hide resolved
@sandrina-p sandrina-p changed the title Add support for boolean type option for Radio inputs fix(select/radio): Add support for options with boolean type Aug 19, 2024
@sandrina-p sandrina-p merged commit 127f70b into main Aug 19, 2024
3 checks passed
@sandrina-p sandrina-p deleted the fix/radio-boolean-type branch August 19, 2024 17:55
@@ -8,7 +8,9 @@ import {
JSONSchemaBuilder,
schemaInputTypeText,
schemaInputTypeRadioDeprecated,
schemaInputTypeRadio,
schemaInputTypeRadioString,
Copy link
Collaborator

Choose a reason for hiding this comment

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

FYI @Arcombe-Remote , I've renamed the PR title to follow conventional commits :) fix(select/radio): Add support for options with boolean type (#89)

Copy link
Collaborator

Choose a reason for hiding this comment

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

🎉 Version 0.11.3-beta.0 published!

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.

4 participants