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

Command icon 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

grimreaper created an issue. See original summary.

just_like_good_vibes’s picture

Assigned: Unassigned » just_like_good_vibes

i will fix this

just_like_good_vibes’s picture

Assigned: just_like_good_vibes » grimreaper
Status: Active » Needs review

please test now :)

just_like_good_vibes’s picture

i just rebased the MR

grimreaper’s picture

Thanks!

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?

just_like_good_vibes’s picture

hmm no, it's not normal.
i need to investigate and i will post a correction

just_like_good_vibes’s picture

ok now it's better :)

grimreaper’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new17.47 KB

Perfect! Thanks!

just_like_good_vibes’s picture

Assigned: just_like_good_vibes » Unassigned
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.