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: boolean field not using force_values when the form initializes it. #868

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

Conversation

jeffdico
Copy link

@jeffdico jeffdico commented Nov 8, 2024

Describe the issue you are attempting to fix.
The booleanField is not using the false_values to check the formdata value passed to it. it just sets what ever vallue passed as bool.
Link to any relevant issues or pull requests.

Describe what this patch does to fix the issue.
This patch makes a call to process_formdata method so as to enforce using false_values set when creating the field in the form class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant