Skip to content

PickList ​

Two listboxes with transfer buttons

Choosing a subset from a long list where both sides matter — the columns to show, the members of a group. For picking several from a short list, a multiple Listbox or checkboxes are simpler; to reorder a single list, OrderList.

Basic
Cast · 5
加藤恵
英梨々
詩羽
美智留
出海
Main · 1
倫也
  • Select in either list (Space, or click), then move with the buttons between them. Buttons are named after the list they move to; after a move, focus goes to that list and the move is announced.
  • v-model:source and v-model:target both update; sourceLabel / targetLabel name the lists.

Usage ​

ts
import { BlessPickList } from "blessing-ui";

API ​

Props

NameTypeDefaultDescription
sourceLabelstring"Available"
targetLabelstring"Selected"
rowsnumber6
sourceBlessOption<T>[][]
targetBlessOption<T>[][]

Events

NamePayloadDescription
update:source[value: BlessOption<T>[]]
update:target[value: BlessOption<T>[]]

Released under the MIT License. Character names and artwork belong to their owners.