You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 15, 2024. It is now read-only.
By default, this plugin expects the web service to return a JSON object containing an array of objects with properties 'label' and 'value'. The web service may also include a 'selected' property for an object within an array to indicate that that particular object is to be the selected item.
229
229
230
+
```json
231
+
// Example server response
232
+
[
233
+
{
234
+
"label": "Item 1",
235
+
"value": "1"
236
+
},
237
+
{
238
+
"label": "Item 2",
239
+
"value": "2",
240
+
"selected": true
241
+
}
242
+
]
243
+
```
244
+
230
245
If the value property is not defined, the dropdown item will set the label as the value, and vice versa.
0 commit comments