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

Error does not reset when using PasswordInput widget #56

Closed
gael-wogenstahl opened this issue Apr 10, 2015 · 2 comments
Closed

Error does not reset when using PasswordInput widget #56

gael-wogenstahl opened this issue Apr 10, 2015 · 2 comments

Comments

@gael-wogenstahl
Copy link
Contributor

Hi Kartik,

I'm using the yii2-editable widget with the input type 'widget' and the yii2-password widget to allow my users to change their password while controlling the strength.

It works great when the user input is valid. However when the password doesn't validate, the error message is displayed correctly but it seems it's not reset when another value is typed in the input. Even if the user type a valid password, the previous error is still displayed and the yii2-editable widget doesn't close.
I check the AJAX response in that case and the JSON is correct : output contains the text I want to display instead of password and message is empty.
If I reset the yii2-editable form with the button, the error goes away and it works again with a valid password.

Do you have an idea why it's behaving that way ? Am I doing something wrong ? Maybe the was the yii2-password widget works doesn't allow the Editable widget to reset the error ?

Thank you for your help solving that issue !

@kartik-v
Copy link
Owner

Check with the updated release v1.7.3.

@gael-wogenstahl
Copy link
Contributor Author

Works like a charm ! You rock ! :)
Thank you !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants