I have inactive some value from table because of that this error is showing i want only active data in choicevalue i don't want inactive value. inactive value is showing because some inactive data is already save in somewhere so how we can handle this error i have already query data with isActive true.because i want only isActive data not inactive
Discussion posts and replies are publicly visible
you have duplicate choice values , one of them is 78. Try to run the rule independetly which is fetching the values for drop down and check what could be reason for getting duplicate values.
Or share the code for local values which you have created for us to help you further
The value is coming correct through a rule which are using for dropdown
Is your first component multiselect ? Are there two values in first component which could bring the same value for 2nd component.
try running your rule with that values as parameters for 2nd component values. If that is what happening, you would need to pass unique parameters as input for rule. Use union function to remove duplicate values
First component is single select if we select default region then 4 to 5 value coming in default branch because that is mapped with default branch and if I select any default region that will be insert one by one in region and if I select any branch then it will insert one by one in access branch so default region and default branch is single selection but access region and access branch is multi selection
I have try with union function in the rule that is also not working
There is a duplicate value in your list of choice values, and you have to get rid of it. union() seems to be a good approach, but it really depends on where you use it.
There is not much we can do here. We have no idea what you are doing and where your data is coming from.
I have try with union function but will try again check it is working or not.