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

PrimozRome picture PrimozRome  路  4Comments

fabianmieller picture fabianmieller  路  3Comments

NexoraSolutions picture NexoraSolutions  路  3Comments

FrozenIce0617 picture FrozenIce0617  路  3Comments

FrancescoMussi picture FrancescoMussi  路  3Comments