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
Drop down expects unique values as choiceValues. In your case 78 is repeated twice.
Please check if by any chance count(local!getRegion) = 77. If it is so, the choice value array will have 78 inserted which is already present as part of choice value.
Also, I suggest to use 0 or any other uncommon number to be inserted for "Select All" logic. Because, some times the result of count(local!getRegion) can be same as the id value in choice values.
yes it is write it has behaving same count(local!getRegion) fetch another 78 Id. so i have inserted a uniques value for select all in the DB and on the basis of regionid i get all list so Select all value is also coming on the list and i have removed this logic count(local!getRegion) only passing the list in choicevalue now the problem is showing when i clicked on select All it has selcted all value from dropdown but select All is also come up. that select All i don't want to selected
please suggest me some approach that how can we remove select all from the selected dropdown value
This seems to be a different issue for which the thread was actually raised. Better you could have created a different thread for this new issue. Can you tell where is this "Select All" is coming from? It seems to be like one of the dropdown values which is uncommon