feat: disable create new if not select branch

This commit is contained in:
Methapon2001 2024-12-12 12:09:28 +07:00
parent ae5412da5f
commit 13149724c6
2 changed files with 20 additions and 4 deletions

View file

@ -4,6 +4,8 @@ import { Ref, watch } from 'vue';
export type SelectProps<T extends (...args: any[]) => any> = {
params?: Parameters<T>[0];
creatable?: boolean;
creatableDisabled?: boolean;
creatableDisabledText?: string;
label?: string;
placeholder?: string;
readonly?: boolean;