@threadplane/a2uiInterfacev0.3.4

A2uiChoicePicker

Basic-catalog single- or multiple-choice input whose selected values are a dynamic string list.

import type { A2uiChoicePicker } from '@threadplane/a2ui';

Declaration

export interface A2uiChoicePicker extends A2uiComponentBase, A2uiCheckable  {
  component: 'ChoicePicker';
  displayStyle?: 'checkbox' | 'chips';
  filterable?: boolean;
  label?: DynamicString;
  options: {
        label: DynamicString;
        value: string;
    }[];
  value: DynamicStringList;
  variant?: 'mutuallyExclusive' | 'multipleSelection';
}

Members

component

component: 'ChoicePicker';

displayStyle

displayStyle?: 'checkbox' | 'chips';

filterable

filterable?: boolean;

label

label?: DynamicString;

options

options: {
        label: DynamicString;
        value: string;
    }[];

value

variant

variant?: 'mutuallyExclusive' | 'multipleSelection';