mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-09 06:49:02 +08:00
fix: add model input max length
This commit is contained in:
parent
ca5912b121
commit
089375c822
@ -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…
Reference in New Issue
Block a user