fix: autofilled in add user form
This commit is contained in:
@@ -130,7 +130,7 @@ const useModelsColumns = ({
|
||||
render: (text: string, record: ListItem) => (
|
||||
<span className="flex-center" style={{ maxWidth: '100%' }}>
|
||||
<AutoTooltip ghost>
|
||||
<span className="m-r-5">{text}</span>
|
||||
<span>{text}</span>
|
||||
</AutoTooltip>
|
||||
<ModelTag categoryKey={record.categories?.[0] || ''} />
|
||||
</span>
|
||||
|
||||
@@ -77,6 +77,7 @@ const AddModal: React.FC<AddModalProps> = ({
|
||||
]}
|
||||
>
|
||||
<SealInput.Input
|
||||
autoComplete="off"
|
||||
label={intl.formatMessage({ id: 'common.table.name' })}
|
||||
required
|
||||
></SealInput.Input>
|
||||
@@ -150,6 +151,7 @@ const AddModal: React.FC<AddModalProps> = ({
|
||||
]}
|
||||
>
|
||||
<SealInput.Password
|
||||
autoComplete={'new-password'}
|
||||
label={intl.formatMessage({ id: 'common.form.password' })}
|
||||
required={action === PageAction.CREATE}
|
||||
></SealInput.Password>
|
||||
|
||||
Reference in New Issue
Block a user