- 🇬🇧United Kingdom joachim
There is callback_allowed_values_function() in api docs, and various methods are marked as this.
If any are missing this, it's a specific docs issue rather than this global one, which I think we can say is done.
Now that this issue is closed, please review the contribution record.
As a contributor, attribute any organization helped you, or if you volunteered your own time.
Maintainers, please credit people who helped resolve this issue.
- 🇺🇸United States smustgrave
Thank you for creating this issue to improve Drupal.
We are working to decide if this task is still relevant to a currently supported version of Drupal. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or is no longer relevant. Your thoughts on this will allow a decision to be made.
Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.
Thanks!
The Needs Review Queue Bot → tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide → to find step-by-step guides for working with issues.
- 🇳🇱Netherlands idebr
Based on the issue summary, comments and related issues the immediate problem is limited to single select elements and client side validation. If I missed something, let me know and I can update the issue accordingly
Refactoring the
_none
value itself is being worked on in 📌 Convert '_none' option to a constant and deprecate form_select_options() Needs work - 🇳🇱Netherlands idebr
To minimize the BC break, I suggest we map the
_none
option to the Select#empty_option
and set#empty_value
to an empty string in a process callback.This implementation allows existing options to remain unchanged; only client side logic is impacted (eg. JavaScript)
- 🇳🇿New Zealand quietone
This was committed to 8.0 and not fixed in 7 so I am updating the version. Also, updated credit, which is always challenging on an older issue with lots of comments.