libs/core/dynamic-form/checkbox/src/checkbox.model.ts
Properties |
labelSize (Optional) | |
Type |
CheckboxLabelSize
|
Description
|
Sets the checkbox label size to be small or large. Default is small. |
type | |
Description
|
Specifies the type of the field as |
import { DfInteractiveBaseConfig } from '@allianz/taly-core/dynamic-form';
/**
* The value to use for the `type` attribute of checkbox formfield configs.
*/
export const DfCheckboxTypeName = 'CHECKBOX';
/**
* @additionalProperties false
*/
export interface DfCheckboxConfig extends DfInteractiveBaseConfig {
/**
* Specifies the type of the field as `CHECKBOX`.
*/
type: typeof DfCheckboxTypeName;
/**
* Sets the checkbox label size to be small or large. Default is small.
*/
labelSize?: CheckboxLabelSize;
}
export const CheckboxLabelSize = {
Small: 'small',
Large: 'large'
} as const;
export type CheckboxLabelSize = (typeof CheckboxLabelSize)[keyof typeof CheckboxLabelSize];