Discussion posts and replies are publicly visible
The format of local variable should be
a!localvariable (
local!var: something,
{
<your code>
}
)
Try putting dropdownfield and foreach within {} parenthesis..
hi paurush,
as per u r answer i divided but its show some dropdown issue,
Try putting test values in choiceValues, make it the same number as choiceLabels.
test value is working but selected item is not displaying
Just a recommendation - you need to debug your query rule, try putting the value that you are passing to the choiceLabel in the drop-down field's label, and see what you are getting? The error says it is getting null, which should not be.
okay Thank you paurush
Hi Swetha,
In the first screen, its telling to correct the localVariable syntax.
Regarding the dropdown, there should be the same number of choice labels and choice values.
We should ensure the selected value must be present in the list of choice value.
If the choice values returns {}, the selection value should be {}. But we could seen in the screen selected value is null()
If the choice values returns specific value, the selection value should be a specific value.