general-select
<form.general-select>
Properties
Name | Description | Type | Default |
---|---|---|---|
name | string | ||
placeholder | string | ||
label | string | ||
options | GeneralComplexOption[] | - | |
value | any | ||
required | boolean | ||
message | Record<string, string> | ||
disabled | boolean | ||
multiple | boolean | ||
clearable | boolean | ||
inputStyle | React.CSSProperties | ||
dropdownStyle | React.CSSProperties |
Events
Name | Description | Event Detail |
---|---|---|
change | {
value: string | string[];
options: GeneralComplexOption[];
} - `{label: string, value: any, [key: string]: any} ` | |
options.change | {
options: {
label: string;
value: any;
[key: string]: any;
};
name: string;
} - `{options:{label: string, value: any, [key: string]: any},name:string} ` |