fix: add placeholder for add users

This commit is contained in:
shuai 2023-08-15 14:38:11 +08:00
parent 139f3ecbfc
commit 78e9d081d1
2 changed files with 2 additions and 0 deletions

View File

@ -1430,6 +1430,7 @@ ui:
fields:
users:
label: Bulk add user
placeholder: "John Smith, john@example.com, BUSYopr2 \n Alice, alice@example.com, fpDntV8q"
text: Separate “name, email, password” with commas. One user per line.
msg: "Please enter the user's email, one per line."
display_name:

View File

@ -38,6 +38,7 @@ const useAddUserModal = (props: IProps = {}) => {
'ui:widget': 'textarea',
'ui:options': {
rows: 6,
placeholder: t('form.fields.users.placeholder'),
},
},
};