mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 07:26:02 +01:00
feat(web/input): allow select to be cleared
This commit is contained in:
@@ -29,6 +29,7 @@ const SelectField: React.FC<Props> = (props) => {
|
|||||||
label={props.row.label}
|
label={props.row.label}
|
||||||
description={props.row.description}
|
description={props.row.description}
|
||||||
withAsterisk={props.row.required}
|
withAsterisk={props.row.required}
|
||||||
|
clearable={props.row.clearable}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ export interface ISelect {
|
|||||||
disabled?: boolean;
|
disabled?: boolean;
|
||||||
description?: string;
|
description?: string;
|
||||||
required?: boolean;
|
required?: boolean;
|
||||||
|
clearable?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface INumber {
|
export interface INumber {
|
||||||
|
|||||||
Reference in New Issue
Block a user