We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Because FieldRenderer.is_form_control_widget does not include the Select widget, it is not considered eligible for addons (before or after)
The text was updated successfully, but these errors were encountered:
Can you add example code or a failing test so we know what to fix?
Sorry, something went wrong.
@dyve
Form:
class MREForm(forms.Form): input_field = forms.CharField() select_field = forms.ChoiceField()
Template:
{% bootstrap_field form.input_field addon_before='<span>foo</span>' %} {% bootstrap_field form.select_field addon_before='<span>foo</span>' %}
Output:
The addon is simply ignored in the case of a select field. It doesn't appear in the html at all.
No branches or pull requests
Because FieldRenderer.is_form_control_widget does not include the Select widget, it is not considered eligible for addons (before or after)
The text was updated successfully, but these errors were encountered: