vue-select is not safari compatible?

Created on 25 Jun 2016  路  3Comments  路  Source: sagalbot/vue-select

The safari console will report

SyntaxError: Unexpected token '='. Expected a ')' or a ',' after a parameter declaration.

point to src/mixin/ajax.js toggle method, if I fixed that with things like following

toggleLoading(toggle) {
            if (toggle == undefined || toggle == null) {
                return this.loading = !this.loading
            }
            return this.loading = toggle
        }

Some other error will raise like issue #57 .

So if I use vue-select in the project make the website didnt work in iPhone and mac safari browser

bug duplicate

All 3 comments

The imported mixins are not being transpiled properly by babel to ES5. I will do my best to tackle this in the next couple days, unfortunately I've been out with a concussion and haven't been able to do much work the last few days.

@xuwenhao You can find the solution here: #57

@xuwenhao sorry this took so long to fix, v1.3.0 provides a pre-built component and solves this issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

FrancescoMussi picture FrancescoMussi  路  3Comments

twz915 picture twz915  路  3Comments

threeaccents picture threeaccents  路  3Comments

rafalolszewski94 picture rafalolszewski94  路  3Comments

mattWalters0 picture mattWalters0  路  3Comments