fix: add model input max length
This commit is contained in:
parent
44991edfbd
commit
d12fc29515
@ -101,7 +101,7 @@ const PopupContainer: React.FC<Props> = ({ title, provider, resolve }) => {
|
|||||||
<Input
|
<Input
|
||||||
placeholder={t('settings.models.add.model_id.placeholder')}
|
placeholder={t('settings.models.add.model_id.placeholder')}
|
||||||
spellCheck={false}
|
spellCheck={false}
|
||||||
maxLength={50}
|
maxLength={200}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
form.setFieldValue('name', e.target.value)
|
form.setFieldValue('name', e.target.value)
|
||||||
form.setFieldValue('group', getDefaultGroupName(e.target.value))
|
form.setFieldValue('group', getDefaultGroupName(e.target.value))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user