file
choiceinput.jsBChoiceInput
The <b-choiceinput> element provides a choice popup to choose
from a set of options. It supports the Vue v-model
protocol by emitting an input
event on value changes and
accepting inputs via the value
prop.
Props:
- value
- The choice value to be displayed.
- choices
-
List of choices:
[ { icon, label, blurb }... ]
- title
- Optional title for the popup menu.
- label
- A label used to extend the tip attached to the choice component.
- small
- Reduce padding and use small layout.
- prop
-
If
label
is unspecified, it can be fetched fromprop->label
instead.
Events:
- valuechange
-
Event emitted whenever the value changes, which is provided as
event.target.value
.