- Preparing search index...
- The search index is not available
docs.hg.fi
- useSliderField<T>(label: string, key: string, change: FieldChangeCallback<T>, changeState: FieldChangeCallback<FormFieldState>, propsName: string, propsValue: T, propsValues: readonly SelectFieldItem<T>[], isRequired: boolean): {
fieldState: FormFieldState;
id: number;
label: string;
name: string;
onChangeCallback: ((event: ChangeEvent<HTMLInputElement>) => void);
selectedItem: SelectFieldItem<any>;
}
-
Parameters
-
label: string
-
key: string
-
-
-
propsName: string
-
propsValue: T
-
-
isRequired: boolean
Returns {
fieldState: FormFieldState;
id: number;
label: string;
name: string;
onChangeCallback: ((event: ChangeEvent<HTMLInputElement>) => void);
selectedItem: SelectFieldItem<any>;
}
-
-
id: number
-
label: string
-
name: string
-
onChangeCallback: ((event: ChangeEvent<HTMLInputElement>) => void)
-
- (event: ChangeEvent<HTMLInputElement>): void
-
Parameters
-
event: ChangeEvent<HTMLInputElement>
Returns void
-