Skip to main content
Known Participant
Jul 14, 2023 8:27 AM UTC
Question

Dropdown Error

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
Jul 14, 2023 8:32 AM UTC

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?

Known Participant
Jul 14, 2023 10:47 AM UTC

Thank you