dimanche 19 avril 2015

Laravel: I have multiple forms in a view and when validation via request fails, all the form values get updated

I had this problem: I have a view showing multiple forms with different values: Laravel multiple forms


And I validate input using a request. The update() function works perfectly, but if I put an invalid value in a field, the values in every form change into the first's form values


Laravel multiple forms validation error


Any suggestion?


Aucun commentaire:

Enregistrer un commentaire