Problem/Motivation
Hi,
Currently when configuring a pattern which has variants, for the variant prop type I only have a select list.
Would it be possible to have a "data from a field" source too? Or Token source?
As in UIP 1 + UI Patterns Settings it is possible to set variant with a token.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | Capture d’écran du 2024-12-18 10-52-30.png | 17.47 KB | grimreaper |
| #6 | Capture d’écran du 2024-12-18 10-00-11.png | 11.74 KB | grimreaper |
Issue fork ui_patterns-3494404
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
just_like_good_vibesi will fix this
Comment #4
just_like_good_vibesplease test now :)
Comment #5
just_like_good_vibesi just rebased the MR
Comment #6
grimreaperThanks!
I know see the prop source select and token source.
So I guess I will be able to get field values, etc.
Is it normal that the "data from a field" source is not present?
Comment #7
just_like_good_vibeshmm no, it's not normal.
i need to investigate and i will post a correction
Comment #8
just_like_good_vibesok now it's better :)
Comment #9
grimreaperPerfect! Thanks!
Comment #11
just_like_good_vibes