Pass props from starterkit form-element.html.twig template to form-element component

Created on 23 April 2024, 7 months ago
Updated 7 May 2024, 7 months ago

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).

🐛 Bug report
Status

Fixed

Version

6.0

Component

Code

Created by

🇨🇿Czech Republic milos.kroulik

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024