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

Add a default value for checkboxes #4869

Merged

Conversation

rossriley
Copy link
Contributor

This fixes an error that shows up in newer versions of MySQL which are stricter about types.

Bolt sets a checkbox to a TINYINT field and expects a value of 0 or 1 internally but without a default value set then most browsers will send a value of on

With stricter modes for the database this always results in a 0 value being set.

@bobdenotter
Copy link
Member

I think it's weird that the tests fail on this one. :-/

@GwendolenLynch
Copy link
Contributor

I think the failures are unrelated and already fixed… just dropped focus myself

@bobdenotter
Copy link
Member

So, let's merge in? :-)

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.

None yet

3 participants