You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: