0👍
fixed with below code
var cityArray = (this.$refs.cities_input.value).split(',')
for (var i = 0; i < cityArray.length; i++) {
formData.append('cities', cityArray [i]);
}
- [Vuejs]-Trigger an event when contenteditable change? (vuejs)
- [Vuejs]-Custom Bootstrap ES6(module) for switch-toggle button in VU
Source:stackexchange.com