Skip to main content
July 14, 2023
Question

Dropdown Error

  • July 14, 2023
  • 2 replies
  • 0 views

Hi ,

i am getting this error after selecting a dropdown value :-

Expression evaluation error [evaluation ID = GUC5I] in rule 'td_additemforbasicdetails' (called by rule 'td_tenderdetailsmaster') : Error in a!forEach() expression during iteration 1:

Expression evaluation error at function a!dropdownField [line 57]:

A dropdown component [label=""] has an invalid value for "value". All selected values must be present in the choiceValues array, but value was 37 and choiceValues was 32; 34; 36; 37; 38.

How can i resolve this ?

2 replies

stefanhelzle0001
Brainy
July 14, 2023

Choice values must match in type AND value. Could it be that you store the value as a string and choiceValues is a list of integers?

July 14, 2023

Thank you