I'm loading dynamic data in my 2nd dropdown based on the selected option from the 1st dropdown. The problem is that, since I cannot clear the 2nd dropdown when the selection on the 1st one change, if I do that (change the selection on the 1st one), the option selected on the 2nd one is not available anymore, so I'm getting this error. (dropdown "xxx" selected ID "xxx" is not in options). Also I'm getting another error when I have no options loaded for the chosen selection on the 1st dropdown. (dropdown "xxx" must contain at least 1 options). What I want is to show a proper message in each case for the user to know what's going on.
Hi Luan, the Dropdown component as a property error-message
. You can return a custom error message from server and show it on dropdown:
{
"type": "Dropdown",
"label": "Select slot",
"name": "slot",
"error-message": "${data.your_custom_error_message}"
},