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

Only set CheckboxInputField for BooleanFields #35655

Merged
merged 2 commits into from
Jan 22, 2025

Conversation

gherceg
Copy link
Contributor

@gherceg gherceg commented Jan 22, 2025

Product Description

Technical Summary

https://dimagi.atlassian.net/browse/SAAS-16481

Followup to #35550.

There is a non-boolean field input on this page that was impacted by all field widget's being set to a checkbox input, which made validation fail for this form any time a change was attempted, and therefore no changes could be made.

The field that is a non-boolean field is behind a feature flag, but still impacts form validation even when in a domain where the flag is not enabled.

Feature Flag

Safety Assurance

Safety story

Tested locally.

Automated test coverage

QA Plan

No

Rollback instructions

  • This PR can be reverted after deploy with no further considerations

Labels & Review

  • Risk label is set correctly
  • The set of people pinged as reviewers is appropriate for the level of risk of the change

@gherceg gherceg marked this pull request as ready for review January 22, 2025 16:40
Copy link
Contributor

@millerdev millerdev left a comment

Choose a reason for hiding this comment

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

Thank you!

@gherceg
Copy link
Contributor Author

gherceg commented Jan 22, 2025

Confirmed this is working on staging too.

@gherceg gherceg merged commit f3826d4 into master Jan 22, 2025
14 checks passed
@gherceg gherceg deleted the gh/project-settings/b5-bug branch January 22, 2025 19:01
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.

3 participants