Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand variable picker functionality #2223

Open
engram-design opened this issue Jan 9, 2025 · 0 comments
Open

Expand variable picker functionality #2223

engram-design opened this issue Jan 9, 2025 · 0 comments
Milestone

Comments

@engram-design
Copy link
Member

engram-design commented Jan 9, 2025

Referring to the "variable picker" for being able to select field values, submission values, or other static content:

image

We want to expand this functionality:

  • Right-clicking on these variables presents a context menu for additional options (for some variables)
  • Searchable and replaceable (to swap it with another variable without having to remove and re-add)
  • Option-based fields (Dropdown, Checkboxes, Radio Buttons) will have the option to use either label or value
  • Element-based fields can pick either CP URL or front-end URLs for elements
  • URL/Link fields can choose whether to render HTML, or the raw URL

This will also be tied into under-the-hood changes for using the UID of fields, rather than their handle.

Visually, it'll look similar to:

image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant