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

Disable/removing dropdown values for a field by settings or event #2289

Open
jamesmacwhite opened this issue Feb 13, 2025 · 2 comments
Open

Comments

@jamesmacwhite
Copy link
Contributor

What are you trying to do?

It would potentially be useful to be able to hide/disable one or more dropdown value by field settings e.g. a checkbox against the dropdown value or via an event.

I have a use case where we have dropdown field that has options that time based/only valid for a certain time, but we can't delete the value itself as they would modify previously saved submissions with this value set. Instead being able to dynamically remove options or control via field settings would be something useful.

What's your proposed solution?

  • Ability to mark an option as disabled to not make it possible to select without removing
  • An event to modify a dropdown field before it is output to dynamically control the values appearing based on additional logic.

Additional context

No response

@engram-design
Copy link
Member

We've got an unofficial list of changes we're going to make for options-based fields (Dropdown, Checkboxes, Radio Buttons), and we'll group this into them!

@jamesmacwhite
Copy link
Contributor Author

Awesome, look forward to those developments in the future!

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

2 participants