Open
Description
Q | A |
---|---|
Bug report? | no |
Feature request? | yes |
BC Break report? | no |
RFC? | yes |
Floating labels in forms are gaining popularity. There are some ways to do this without JS.
For a CSS only solution some rules are necessary:
- The Label should be after the Input Field
- The input field should have a placeholder attribute
- Makes only sense with the following fields: Text, Number, Textarea, Select? (Bootstrap 5)
CSS Solutions
Implemented Conditions
- Condition in Symfony Bootstrap 5 Form Layout
- Condition in Formbuilder Tailwind 2 Form Layout [FEATURE] Tailwind 2 Layout #314
Symfony Docs for the Bootstrap 5 Way
Do we need to provide other options like in the Symfony Bootstrap 5 Form Theme documentation (input-group, checkbox-switch, checkbox-inline)?