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 != '')
- [Vuejs]-How to remove query string in url with vue spa application?
- [Vuejs]-How do you handle it if you don't upload photos on vue Js?
Source:stackexchange.com