The Custom Paginated Dropdown Widget extends the standard dropdown to handle large datasets with pagination and searching capabilities. This is useful when API responses are too large to load all at once.
This widget supports:
searchField.bindValue is empty.currentPageKey and totalPagesKey).| Prop | Type | Description |
|---|---|---|
label |
string | Field label |
placeholder |
string | Placeholder text |
bindLabel |
string | Field of the option to display in dropdown |
bindValue |
string | Field of the option to bind as value (empty string returns full object) |
multiple |
boolean | Allows selecting multiple items |
options |
array | Static options list (optional if using dataset) |
dataset |
object | API configuration: includes url, params, dataField, pagination, searching, searchField, totalPagesKey, currentPageKey |
useBaseUrl |
boolean | Uses the app’s base URL for API calls |
required |
boolean | Marks the field as mandatory |
"dataset": {
"url": "https://example/categories",
"params": { "size": 10, "page": 0 },
"dataField": "data.content",
"pagination": "true",
"searching": "true",
"searchField": "string",
"totalPagesKey": "string",
"currentPageKey": "string"
}
Complete JSON Object
{
"key": "InputKey",
"type": "customdropdownpaginated",
"props": {
"label": "Input Name",
"required": true,
"placeholder": "Input Placeholder",
"bindLabel":"description",
"bindValue":"",
"multiple":false,
"options":[],
"useBaseUrl":true,
"dataset":{
"url":"https://example/categories",
"params":{ "size":10, "page":0 },
"dataField":"data.content",
"pagination":"true",
"searching":"true",
"searchField": "string",
"totalPagesKey":"string", // Default value is totalPages
"currentPageKey":"string" // Default value is number
}
},
"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.
## UI Configuration



Allowed Custom Properties
Allowed Validations
validator-(n)