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

Created on 23 April 2024, 2 months ago
Updated 7 May 2024, about 2 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.69.0 2024