[Vuejs]-How to use the concatenate names of the elements/options in one function in vue-select

0👍

Found the solution:

        ...
        maybeLoad(name) {
            const options_select   = 'options_' + name;
            return this[options_select].length <= 0 ? this.load(name) : null
        },
        ...

Leave a comment