Hello everyone,
Is there a way to display record picker as a dropdown?
Discussion posts and replies are publicly visible
No, if you want to display a dropdown, you'll have to use the dropdown component instead and populate the list of options with a query.
Hello
Thank you for replying.
I am not sure how to write the query and the configuration of dropdown when using a query,
Could you please give some sample examples of them
Thanks and regards,
Aishwarya
a!localVariables( local!pickedState, local!dropdowndata: rule!qe_getallStates().data, local!stateLabels: index(local!dropdowndata, "state", null()), local!stateAbbreviations: index(local!dropdowndata, "id", null()), a!dropdownField( label: "States", instructions: "Enter the employee's state of residence.", choiceLabels: local!stateLabels, choiceValues: local!stateAbbreviations, placeholder: "Select a US state", value: local!pickedState, saveInto: local!pickedState, ))
Thank you so much
Hello gayathris0003
I am getting some errors on the interface, Could you please tell me where I am going wrong?
I tried wrapping the rule inside [ ] & index(), it is not working.