Hi,
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?