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