Enhance x-dropdown with Optional, Filterable, and Dynamic Capabilities #30493
wizardnet972
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description:
Currently, the
x-dropdown
property in NX is used to define static dropdown options, for example:I propose extending this functionality to support more advanced scenarios:
Optional Dropdown Configuration:
Allow
x-dropdown
to be defined as an object rather than a static string. This change would enable more flexible usage and make it optional.Filtering Projects:
Introduce a filtering mechanism within
x-dropdown
to limit dropdown options based on criteria. For example:Dynamic Dropdown Options:
Support dynamic retrieval of dropdown options by allowing
$source
to reference a module function. For example:Benefits:
I am happy to work on a pull request to implement these enhancements.
Beta Was this translation helpful? Give feedback.
All reactions