mirror of
https://github.com/langgenius/dify.git
synced 2026-05-10 05:56:31 +08:00
fix(web): use number_limits for file_list type
This commit is contained in:
parent
bdecea34a3
commit
4da8afaed5
@ -174,7 +174,7 @@ const InputField: React.FC<InputFieldProps> = ({
|
||||
allowed_file_extensions: payload.allowed_file_extensions || [],
|
||||
allowed_file_types: payload.allowed_file_types,
|
||||
allowed_file_upload_methods: payload.allowed_file_upload_methods,
|
||||
number_limits: payload.number_limits ?? payload.max_length,
|
||||
number_limits: payload.max_length,
|
||||
}
|
||||
})
|
||||
}, [])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user