invalid value for pickerFieldCustom error is thrown only for a specific record search. Rest all records are loading fine and selectable. Please advise.
Error
Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error at function a!pickerFieldCustom [line 293]: A custom picker component [label="null"] has an invalid value for "value". The value and selectedLabels lists must be the same length.
Code
a!pickerFieldCustom( label: "", instructions: "Type to select and retrieve an asset details. You can select a maximum of 20 assets.", placeholder: "Type to select and retrieve an asset details. You can select a maximum of 20 assets.", maxSelections: 20, suggestFunction: rule!NSA_SearchFilterMatch_ExprRule( filter: _ ), selectedLabels: a!forEach( items: ri!pickedAsset, expression: index( local!assetLabels, wherecontains( fv!item, tointeger( local!assetIds ) ) ) ), value: ri!pickedAsset, saveInto: ri!pickedAsset ),
Code for Expression Rule in above code:
=with( local!dataSet: rule!NSA_SearchQueyrLogicalExpression_Rule(ri!filter),a!dataSubset( data: index(local!dataset, "ProjectName",{}), identifiers: index(local!dataset, "Id",{}) ))
Discussion posts and replies are publicly visible