Skip to content

removing "required" from form-check-input  #129

@edkim8

Description

@edkim8

This is for Firefox browser.
In forms, added required=False in both forms.CharField(required=False) and forms.BooleanField(required=False).
Checked Firefox inspector. For CharField, the "required" is not added and can be submitted without adding a text.
For BooleanField, the required is added as required='False'. This still cause an error and not allow to enter without check.
If the required='False' is removed via Firefox Inspector, it allows to enter without check.
Why doesn't required='False' not work?
Why does it add required='False' for BooleanField instead of removing "required" like in CharField?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions