[2.0.0-beta1] "Data from field" source plugin avaiable for UnknownPropType

Created on 2 August 2024, 5 months ago
Updated 12 August 2024, 4 months ago

Problem/Motivation

There is something weird about "Data from field" source plugin: it is available for props without a type. Or, more precisely, to props of type UnknownPropType because we have such prop type

Tested with the first props of https://git.drupalcode.org/project/ui_patterns/-/blob/2.0.x/tests/module...

Props without prop types are not expected to have sources, prop without sources are not expected to show up in the form.

Proposed resolution

So, what do we do ? We fix "Data from field" to avoid targeting UnknownPropType" ? Or we challenge the relevancy of "UnknownPropType" plugin ?

πŸ› Bug report
Status

Fixed

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024