[2.0.0-beta1] Expose default attributes prop in forms?

Created on 10 January 2024, 11 months ago
Updated 4 July 2024, 6 months ago

Problem/Motivation

The default attributes prop (mandatory and managed by Drupal) was not covered by UI Patterns Settings and not showing up in UI Patterns 1.x forms.

The new UI Patterns architecture (prop type + source plugins) allow us to expose it easily. But it is not the case yet and it is visible in Form Builder only when the prop is explicitly present in the definition file (which is not a good practice).

Proposed resolution

We don't want it to show up elsewhere (library pages...) and we don't want to force the front developer to add attributes prop on every component definition.

So, do we add this prop to the form in the form builder?

Feature request
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

🇫🇷France pdureau Paris

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

Comments & Activities

Production build 0.71.5 2024