-
-
Notifications
You must be signed in to change notification settings - Fork 142
Open
Labels
Description
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?