mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-17 09:48:33 +00:00
refactor(web/input): select backwards compat with no label
This commit is contained in:
1 parent
d5a9a3fb90
commit
f6e2d54bdb
3 files changed
+10
-4
No files matched your search
@@ -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