Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix edit profile and info profile #149

Merged
merged 2 commits into from
Jul 5, 2024
Merged

Conversation

nenichv
Copy link
Collaborator

@nenichv nenichv commented Jul 3, 2024

No description provided.

@@ -63,18 +63,18 @@ export function ProfileEdit() {
required={true}
label={'Ф. И. О.'}
name={USER_NAME}
rules={validators[USER_NAME]}
rules={[...validators[USER_NAME], { required: true, message: '' }]}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

write a message for validation

</Form.Item>

<Form.Item
required={true}
label={'Email сотрудника'}
name={USER_EMAIL}
rules={validators[USER_EMAIL]}
rules={[...validators[USER_EMAIL], { required: true, message: '' }]}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^^

Copy link
Collaborator

@levil664 levil664 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

write a message for validation

@nenichv nenichv requested a review from levil664 July 4, 2024 07:41
@levil664 levil664 merged commit df809b1 into dev Jul 5, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants