-
Notifications
You must be signed in to change notification settings - Fork 43
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
Issue 245 #274
base: main
Are you sure you want to change the base?
Issue 245 #274
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (validPassword) $passwordErrorMessage.classList.remove('show-error'); | ||
if (validNewPassword) | ||
$newPasswordErrorMessage.classList.remove('show-error'); | ||
if (validConfirmPassword) | ||
$confirmPasswordErrorMessage.classList.remove('show-error'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A remoção do erro idealmente deveria acontecer no ato de digitar, no caso, se a pessoa alterar algum dos campos com erro ja remover os erros, remover apenas quando poder enviar da uma impressão de que a pessoa teria que clicar no botao de enviar mesmo com os campos exibindo erro, talvez isso não seja ideal
Closes #245
Feature
Adiciona o componente de alteração de senha
Visual evidences![image](https://private-user-images.githubusercontent.com/67716586/341982250-4ca44809-1468-4716-9155-6f8e636185dc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA0MTY5MDUsIm5iZiI6MTcyMDQxNjYwNSwicGF0aCI6Ii82NzcxNjU4Ni8zNDE5ODIyNTAtNGNhNDQ4MDktMTQ2OC00NzE2LTkxNTUtNmY4ZTYzNjE4NWRjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA4VDA1MzAwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZkZTI3ZjA4MDVhNjg2Y2I5MjJkZDE5NjY4ZDU0YWJiNDg2ZTE2MTJlMjJiOTEzYmE0NGZlZjc0OGQ2N2UxN2ImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.2MYwErgSHQQ5BVSJl0gRHuhyRdJkPv5tav43oawLJZ4)
Checklist
Additional info
Está pendendo o botão de visualizar senha