Closed (fixed)
Project:
radix
Version:
6.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Apr 2024 at 05:06 UTC
Updated:
7 May 2024 at 06:44 UTC
Jump to comment: Most recent
Starterkit form-element.html.twig template looks currently like this:
{% include "radix:form-element" %}
(https://git.drupalcode.org/project/radix/-/blob/6.0.x/src/kits/radix_sta...)
That means no variables passed to the template make it to the component itself, which makes it impossible (for example) to display filed labels after the field, which is required for BS5 floating labels (https://getbootstrap.com/docs/5.3/forms/floating-labels/#example).
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
milos.kroulik commentedComment #6
doxigo commentedThanks Milos, merged but note that you can omit the value if the key/value are equal, so I just adjusted it a bit to:
{% include "radix:form-element" with {
errors,
prefix,
suffix,
type,
name,
label,
label_display,
description_display,
} %}