Hi everyone, I'm using dropdown for the first time in Appian and I'm stuck with a problem.
a!localVariables( local!listBankAccountsFrom: rule!FIN_ListBankAccounts().data, local!listBankAccountsTo:rule!FIN_ListBankAccounts().data, .... a!dropdownField( label: "Bank Account From", labelPosition: "ABOVE", placeholderLabel: "--- Select a Value ---", choiceLabels: local!listBankAccountsFrom.account_name, choiceValues:local!listBankAccountsFrom, value: ri!bankAccounFrom, saveInto: ri!bankAccounFrom, validations: {}
The error I get is that the dropdown component has an invalid value for "value". All selected values must be present in the choiceValues array.
I don't know why when I select a field its id is always = 1 and also why value store value like [id = 1, owner_name=ABC, while choiceValues store values like [id:1,owner_name:ABCAnyone knows what am I doing bad?
Thank you
Discussion posts and replies are publicly visible