Dynamic select
Load choices from terms, posts, users, or a REST endpoint.
Load choices from terms, posts, users, or a REST endpoint.
| Field | Value |
|---|
| Name | xp/form-field-dynamic-select |
| Title | Dynamic select |
| Category | xpac-form-generic-field |
| API version | 3 |
| Keywords | xpac, form, field, dynamic, select, taxonomy, post |
| Package | forms |
| Metadata file | dist/packages/forms/blocks/dynamic-select/block.json |
| Feature | Value |
|---|
className | Disabled |
| Name | Type | Default | Source/Enum |
|---|
additionalAttributes | object | {} | — |
dataSource | object | {"type":"taxonomy","config":{"taxonomy":"","taxonomyName":"","parent":-1,"hideEmpty":true,"orderby":"name","order":"ASC"}} | — |
description | string | "" | — |
displayStyle | string | "dropdown" | enum "dropdown", "radio", "checklist" |
id | string | "" | — |
label | string | "Untitled" | — |
labelVisibility | string | "visible" | enum "visible", "hidden" |
name | string | "" | — |
rules | object | {"required":{"value":false,"message":""}} | — |