[Vuejs]-VueJs Phonebook app with nested table data Error: "Maximum call stack size exceeded" when trying to .push()

0👍

I’m not sure if this fixes anything, but in your onFormSubmit function you check if (!(data.leader)) which I think is intended to catch if leader is not empty string, leader: '' in your list. Empty string is not null, I think you should check if (data.leader != '')

Leave a comment