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

adding label_class param to FloatingField construction adds a label-class attribute to the textarea dom instead of adding class to the label #194

Open
htao00 opened this issue Nov 21, 2024 · 0 comments

Comments

@htao00
Copy link

htao00 commented Nov 21, 2024

As title says:
FloatingField('my_floating_field', label_class='ms-3')

results in:
<textarea name="my_floating_field" cols="40" rows="10" label-class="ms-3" class="textarea form-control" placeholder="my_floating_field" required="" id="id_my_floating_field"></textarea>

The expected behavior should be same as adding the wrapper_class parameter, where it correctly adds the classes to the <div id="div_id_my_floating_field"> dom

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

1 participant