- Issue created by @Bohus Ulrych
- Assigned to sarwan_verma
- Merge request !6Issue #3390098: Input description is missing classes โ (Merged) created by Unnamed author
- Issue was unassigned.
- Status changed to Needs review
almost 2 years ago 10:52am 27 September 2023 - ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
avpaderno โ made their first commit to this issueโs fork.
- ๐ฎ๐ณIndia sandip
I have reproduced this issue. I create a custom form and create this field to reproduce this issue.
$form['textfield'] = [ '#type' => 'textfield', '#title' => $this->t('Another Text Field'), '#description' => $this->t('This is another text field for testing.'), '#description_display'=> 'before', ];
Default value of
#description_display
isafter
. So i set it tobefore
to reproduce this issue.I am attaching before and after images here you can identify description class is not attached when description_display is set before.
I am attaching core issue queue related to this issue here. https://www.drupal.org/project/drupal/issues/2700439 ๐ Description class not added to form-element.html.twig template Needs work
Moving this issue to RTBC.
-
avpaderno โ
committed 4f665c86 on 1.0.x authored by
sarwan_verma โ
Issue #3390098: Input description is missing classes
-
avpaderno โ
committed 4f665c86 on 1.0.x authored by
sarwan_verma โ
-
avpaderno โ
committed 7f0e4e3b on 2.0.x
Issue #3390098: Input description is missing classes
-
avpaderno โ
committed 7f0e4e3b on 2.0.x
Automatically closed - issue fixed for 2 weeks with no activity.