Complete JSON Object
{
"key": "InputKey",
"type": "customdropdown",
"props": {
"label": "Input Name",
"required": true,
"placeholder": "Input Placeholder",
"bindLabel":"description",
"bindValue":"",
"multiple":false,
"options":[],
"useBaseUrl":true,
"dataset":{
"url":"https://example/categories"
"dataField":"data.content",
}
},
"validation": {
"messages": {
"required": "Error message for required"
}
}
}
Note: Setting the bindValue to empty string will return object of selected item which is preferred for dynamic Drop down field.
Allowed Custom Properties
Allowed Validations
validator-(n)