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 validation for checkboxes rendered with accompanying hidden input. #51

Merged
merged 3 commits into from
Jul 3, 2023

Commits on Jul 3, 2023

  1. Check for special checkbox hidden input

    Browsers do not send a value for unchecked checkboxes. To work around this, platforms such as ASP.NET render a hidden input with the same name as the checkbox so that a value ("false") is still submitted even when the checkbox is not checked. We check this special case here.
    
    Fixes #48
    haacked committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    4264b56 View commit details
    Browse the repository at this point in the history
  2. Implement demo page for checkboxes

    To help validate it works correctly.
    haacked committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    7a1aea2 View commit details
    Browse the repository at this point in the history
  3. Build dist

    haacked committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    11c70b6 View commit details
    Browse the repository at this point in the history