Multiple drop-down selection error

Certified Associate Developer

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 isA ctive data not inactive

  Discussion posts and replies are publicly visible

Parents
  • 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.

Reply
  • 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.

Children