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

Created on 10 January 2024, 6 months ago
Updated 20 June 2024, 8 days 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

Active

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.69.0 2024