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

False is also a value #417

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

False is also a value #417

wants to merge 2 commits into from

Conversation

avdata99
Copy link
Member

@avdata99 avdata99 commented Jun 27, 2024

In a field with boolean values like this

- field_name: some_bool
  label: Some Bool
  required: false
  preset: select
  choices:
    - value: false
      label: "No"
    - value: true
      label: "Yes"
  validators: scheming_required boolean_validator
  output_validators: boolean_validator

and if the false value is selected, we didn't display anything in the select

This PR fixes those cases

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.

1 participant