Closed Em-Ant closed 8 years ago
@Em-Ant This is a duplicate of #5 . The same issue also happens on the consumer edit form.
@Em-Ant I have fixed this on the vehicle form. I also fixed this bug on the consumer form. I have tested the changes on the consumer form and it looks like it works properly. Can you review 68ff0525a7cb0999190ff1858cb4d40cdedbeaf2? Let me know if it looks good, and I will close this issue.
After editing a vehicle, if you edit that vehicle again the form shows the initial data (i.e. the vehicle before the first edit), not the current (edited) vehicle attributes.
The first vehicle has been updated to
{name: My minivan 4, fixedSeats: 9}
, then set in edit mode again. The form shows the previus data. The back-end data updates correctly.