fix: check form data after blur
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
import React from 'react';
|
||||
|
||||
interface FormContextProps {
|
||||
isGGUF: boolean;
|
||||
isGGUF?: boolean;
|
||||
byBuiltIn?: boolean;
|
||||
sizeOptions?: Global.BaseOption<number>[];
|
||||
quantizationOptions?: Global.BaseOption<string>[];
|
||||
modelFileOptions?: any[];
|
||||
onSizeChange?: (val: number) => void;
|
||||
onQuantizationChange?: (val: string) => void;
|
||||
onValuesChange?: (val: any) => void;
|
||||
}
|
||||
|
||||
interface FormInnerContextProps {
|
||||
|
||||
@@ -450,6 +450,8 @@ export const modelLabels = [
|
||||
];
|
||||
|
||||
export const excludeFields = [
|
||||
'repo_id',
|
||||
'file_name',
|
||||
'replicas',
|
||||
'categories',
|
||||
'name',
|
||||
@@ -460,5 +462,8 @@ export const excludeFields = [
|
||||
'size',
|
||||
'restart_on_error',
|
||||
'worker_selector',
|
||||
'backend_parameters'
|
||||
'backend_parameters',
|
||||
'local_path',
|
||||
'backend_version',
|
||||
'ollama_library_model_name'
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user