A card based single select input.
Props
Name
Description
Type
Default
checkIcon
Icon to display when checked.
[namespace: stringor
symbol, name: string]or
string
[ICON_NAMESPACE, check]
disabled
If the input is disabled.
booleanor
undefined
groupBy
Group the cards by a key.
stringor
undefined
invalid
If the input is currently in an error state.
boolean
false
name
The name of the input.
string
options
The options to be displayed and chosen from.
RadioCardOption[]
renderCard
Overwrite the default card renderer
(h: typeof h, option: any, active: boolean) => stringor
VNodeor
VNode[]or
null
RadioCardInput.defaultRenderCard
value
The current value of the input.
nullor
string
RadioCardOption
An option to be selected
Name
Description
Type
A longer description to be displayed.
If the option is disabled.
A name to display.
The string to be used as a value.
Events
Event
Detail
Description
fieldchange
FieldChange<string, string>
Emitted when the value of the field is changed.
Parts
Name
Description
group-title
The title of a card group.