RpcLabelPicker - ietf-tools/purple GitHub Wiki

RpcLabelPicker

Props

Prop name Description Type Values Default
labels Available labels Array - () => []
modelValue ids of applied labels Array - () => []
label Component UI label string - 'Choose labels'

Events

Event name Properties Description
update:modelValue

Usage

The LabelPicker component provides a combobox to manage a set of labels.

The Labels prop is a list of objects that should include at least id, slug, and color fields.

The modelValue prop is a list of id values that are currently selected.