Dependent Dropdown Issue
I have built a dependent dropdown but its not functioning properly.
I have a hierarchy which follows the certain order: Entity>Segment>Product
Below is my segment hierarchy
Below are my line items which are list formatted
When I am selecting the top level of Entity, my segment dropdown is showing entity list and on selecting one entity from the list, its giving an error. Infact it should show that there are no items in the list
Is there a way where my segment list gets locked or shows no items when I am selecting the top level of entity?
When formatting the line item as a list you can check it as dependent.
You can then base the dependence on the value of another line item which is formatted as the parent list.0
The logic doesnt stack up if you select the top level.
This is because the top level is technically the apex of the hierarchy and parent of the top level and therefore the line item at the next level down is not able to assign any possible values.
Therefore, by default you should not be able to make any further selection from the other line items.0
Hi @NilanjanDutta ,
You can achieve this via a workaround (albeit not-so-elegant, as it will require some maintenance)
1. A new list is to be created which would hold the concatenated elements from Entity & Segment lists, with Entity and Segment as properties, as shown:
2. Use these properties to drive the dependence as shown:
3. This will result in the following:
Top level selected:
Hope this helps!