django-crispy-forms / django-crispy-forms/crispy-bootstrap5

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

Open
#194 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
525
Forks
77
Avg merge
1d 1h
Merged PRs (30d)
2

Description

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

results in:
``

The expected behavior should be same as adding the wrapper_class parameter, where it correctly adds the classes to the `

` dom

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.