From 42ebec89d615989a95019f7d1234a79e415bc207 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sat, 11 Sep 2021 00:31:23 +0700 Subject: input: add options to add custom CSS class to label and input The input options for string, number, and select now have two additional options: "class_label" and "class_input". The "class_label" option will add custom CSS class to the input label. The "class_input" option will add custom CSS class to the input group. --- input/string.d.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'input/string.d.ts') diff --git a/input/string.d.ts b/input/string.d.ts index a47f90d..8159f66 100644 --- a/input/string.d.ts +++ b/input/string.d.ts @@ -3,6 +3,8 @@ export interface WuiInputStringOpts { value: string; id?: string; hint?: string; + class_label?: string; + class_input?: string; is_disabled?: boolean; onChangeHandler?: (new_value: string) => void; } -- cgit v1.3