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

The form-check field classes are lost #16

Open
mcnickbronx opened this issue Sep 5, 2021 · 1 comment
Open

The form-check field classes are lost #16

mcnickbronx opened this issue Sep 5, 2021 · 1 comment

Comments

@mcnickbronx
Copy link

mcnickbronx commented Sep 5, 2021

After submitting and returning a form with errors, classes are lost.
form-check-label
form-check-input

<div class="form-check">
  <label for="id_symptom_22_0"><input checked="" class="is-valid" id="id_symptom_22_0" name="symptom_22" required="" title="" type="radio" value="0">
   None</label>
</div>

To convert to Radio, I use the widget in the ModelForm class

forms.RadioSelect()

@vgaicuks
Copy link

Same with CheckboxInput

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants