Skip to content

Cascading editors (options based on previous property?) #202

Discussion options

You must be logged in to vote

Hi @patrickdemooij9 - do you mean that the 2 properties are on the same doctype? So (just to clarify in my mind), you want to pick the first value and it populate the items of the second?

It's not possible using Data List, as all of the items are pre-loaded in on the initial request - so no fetches or watchers on in AngularJS.

However, there is an internal (undocumented) editor called Cascading DropdownList that I use to populate the values of the Enum data-source, (where you pick an assembly, then it shows you a list of all the enums in that assembly). But it's not available as its own property-editor, e.g. selectable from the Data Types.

If you wanted to hack up your own custom property…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by patrickdemooij9
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants