Hi All,
I am facing one issue in dropdown field. I have 4 interface and dependency is mentioned below:
Now in 4th Interface i am using dropdown as filter
{
a!localvariables(
local!id: null,
local!name:null,
local!data: rule!getdata(id:local!id, name:local!name, approver: if(contains({1,2,3},ri!ClickedTileNo),1,0)),
local!filter: rule!getdata(id:local!id, name:local!name, approver: if(contains({1,2,3},ri!ClickedTileNo),1,0)).data,
local!filterId:{Union(local!filter.idt,local!filter.id)},
a!columnsLayout(
columns: { a!columnLayout( contents: { a!dropdownField( label: "ID", labelPosition: "ADJACENT", placeholderLabel: "--- Select ID---", choiceLabels: local!filterID, choiceValues: local!filterID, value: local!Id, saveInto: local!id ) }, width: "MEDIUM" ),
)
/***** i have below code for Grid which i am not mentioning here */
}
now when the ClickedTileNo value is changing the dropdown values are also getting changed but when i am selecting any value from the dropdown and then changing the ClickedTileNo i am getting below error
function a!dropdownField [line 171]: A dropdown component [label=“ID”] has an invalid value for “value”. All selected values must be present in the choiceValues array, but value was 000045678 and choiceValues was 143256
COuld someone pls help
Discussion posts and replies are publicly visible