Skip to content
Star

PxSchemaMultiSelect

A multi-select dropdown that reveals extra sub-fields for each selected option. Backed by a field.options[0].options list for the dropdown, and field.components for the sub-fields shown per selection (matched by key).

Usage

Demo
Select...
Selected: None

Props

PropTypeDefaultDescription
fieldrequiredobjectField definition. `field.options[0].options` supplies the dropdown options; `field.components` supplies the sub-fields shown per selected option, matched by key.
modelValueunknown[][]Array of selected option values. Use with v-model.

Emits

EventPayloadDescription
update:modelValueunknown[]Emitted on selection change.

Built with VitePress