Merge branch 'main' into next

This commit is contained in:
nocobase[bot] 2025-01-11 07:13:12 +00:00
commit eaa29d2a2b
2 changed files with 4 additions and 1 deletions

View File

@ -39,7 +39,7 @@ export const PasswordField: React.FC = () => {
}}
value={field.value}
onChange={(e: any) => field.setValue(e.target.value)}
autoComplete="off"
autoComplete="new-password"
/>
</Col>
<Col span={4}>

View File

@ -228,6 +228,9 @@ export const usersSchema: ISchema = {
password: {
'x-component': 'CollectionField',
'x-decorator': 'FormItem',
'x-component-props': {
autoComplete: 'new-password',
},
required: true,
},
roles: {