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
I'm a novice backend developer tasked with making a checkbox that toggles a boolean value in the DB when checked or unchecked. The form I'm modifying uses NewForms and when trying to create this checkbox element, the label shows but the checkbox does not. When extending the form I am:
"fake_agent": forms.BooleanField({label: 'Fake Agent', required: false, widget: forms.CheckboxInput}),
The JSX is:
As far as I can tell, I'm conforming to the NewForms docs and the form elements already on the page. Like I said, the "Fake Agent" label shows but the text box widget does not and I have no idea why.
The text was updated successfully, but these errors were encountered:
I'm a novice backend developer tasked with making a checkbox that toggles a boolean value in the DB when checked or unchecked. The form I'm modifying uses NewForms and when trying to create this checkbox element, the label shows but the checkbox does not. When extending the form I am:
"fake_agent": forms.BooleanField({label: 'Fake Agent', required: false, widget: forms.CheckboxInput}),
The JSX is:
As far as I can tell, I'm conforming to the NewForms docs and the form elements already on the page. Like I said, the "Fake Agent" label shows but the text box widget does not and I have no idea why.
The text was updated successfully, but these errors were encountered: