Note
This documentation describes the BooleanCombobox Vue component for native UI views, this component is not available for Xml templates and used internally in datagrid components.
BooleanCombobox
A combobox for boolean | null values, presenting three fixed options: true, false, and null.
Import
import { BooleanCombobox } from '@neos/design-system'
Props
Inherits all shared input props, plus:
| Prop | Type | Default | Description |
|---|---|---|---|
modelValue |
boolean \| null |
undefined |
Bound value (v-model) |
trueDisplay |
string |
'Yes' |
Label shown for true |
falseDisplay |
string |
'No' |
Label shown for false |
nullDisplay |
string |
'Undefined' |
Label shown for null |
Emits
update:modelValue, aiApply, aiCancel, update:focused
Usage Examples
Basic boolean selector
<BooleanCombobox v-model="isActive" label="Active" />
Custom labels
<BooleanCombobox
v-model="hasDiscount"
label="Discount Applied"
true-display="Applied"
false-display="Not Applied"
null-display="Not Set"
/>
Read-only display
<BooleanCombobox v-model="isVerified" label="Verified" :readonly="true" />