mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 23:16:03 +01:00
refactor(web/input): select backwards compat with no label
This commit is contained in:
@@ -22,11 +22,12 @@ export interface ICheckbox {
|
||||
required?: boolean;
|
||||
}
|
||||
|
||||
export type OptionValue = { value: string; label?: string };
|
||||
export interface ISelect {
|
||||
type: 'select';
|
||||
label: string;
|
||||
default?: string;
|
||||
options: Array<SelectItem>;
|
||||
options: Array<OptionValue>;
|
||||
disabled?: boolean;
|
||||
description?: string;
|
||||
required?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user