refactor(web/input): select backwards compat with no label

This commit is contained in:
Luke
2023-01-08 11:50:44 +01:00
parent d5a9a3fb90
commit f6e2d54bdb
3 changed files with 10 additions and 4 deletions

View File

@@ -22,11 +22,12 @@ export interface ICheckbox {
required?: boolean;
}
export type OptionValue = { value: string; label?: string };
export interface ISelect {
type: 'select';
label: string;
default?: string;
options: Array<SelectItem>;
options: Array<OptionValue>;
disabled?: boolean;
description?: string;
required?: boolean;