@anaspm wrote:
I tried to create a new record in a route using createRecord method and I persisted it using .save() method.
it is getting saved in db and showing record in my view component.
but I am generating id on my db. but when i check id is showing as null.
I think the model is not refreshing automatically on creating new record.
when I manually refresh page the record is showing with id
Posts: 6
Participants: 2