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

Use the new options element instead of text fields for multi-value settings #9

Closed
klonos opened this issue Feb 22, 2019 · 2 comments
Closed

Comments

@klonos
Copy link
Member

klonos commented Feb 22, 2019

In Backdrop 1.12, we have implemented an options element, which improves the UX when entering multiple values (backdrop/backdrop-issues#1005). We should use that instead of text fields.

One concern is backwards combatiility. We can require dependencies[] = backdrop:system (>=1.12) in the .info file of the module, but that means that we do not support previous versions of core. Is this OK?

@herbdool
Copy link
Collaborator

If you use a select field you get the new function automatically on newer BD versions. No need to declare dependencies.

I've only tried this with editing select fields. I suspect it doesn't work with the Form API.

@herbdool
Copy link
Collaborator

I'm going to close this since it's not possible.

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

No branches or pull requests

2 participants