[Vuejs]-How to make multiselect work in sails.js using built in vue and ajax forms?

0👍

In sails, seems the ‘formData’ field autogenerates using an array for form fields, so I just hardcoded in the v-model=”formData.select” to below and seems to eliminate the error.

xxx.page.js file:

data: {
formData: { /* … */
            'select': [],
        },

Leave a comment