feat(web/input): display value when no label is provided for select

This commit is contained in:
Luke
2022-06-11 11:59:00 +02:00
parent a7e2dc0067
commit 7b6cf6682f
3 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ type RowType = "input" | "checkbox" | "select";
export interface Row {
type: RowType;
label: string;
options?: { value: string; label: string }[];
options?: { value: string; label?: string }[];
password?: boolean;
icon?: IconProp;
}