amnah / yii2-user

Yii2 user authentication module
MIT License
253 stars 104 forks source link

On update form it submits when clicking on form #138

Closed DiegoGallegos4 closed 8 years ago

DiegoGallegos4 commented 8 years ago

Hi,

Whenever i want to edit a user it submits itself. It happens on the following fashion:

  1. Click on a field
  2. Click on a second field --> it triggers submit

I already disabled all my javascript files and still does it.

Any help on this?

amnah commented 8 years ago

Hmmm what exactly do you mean by submits itself? It should be making an ajax call to itself for validation

https://github.com/amnah/yii2-user/blob/master/controllers/AdminController.php#L133-L136

DiegoGallegos4 commented 8 years ago

By submitting it self is that whenever I click a field for the second time, it submits the form without letting me continue editing it. As I commented above I disabled all my js files to discard that the error was on my side.

amnah commented 8 years ago

Woops, I forgot to create a tag/release for that latest commits :(

Try running composer update to get the latest version, and then let me know if that fixes it for you.