sagalbot / vue-pikaday

A lightweight Vue.js directive wrapper over dbushell/Pikaday.
http://sagalbot.github.io/vue-pikaday/
9 stars 2 forks source link

I use the vue-pikaday occured an error #2

Open coderew opened 6 years ago

coderew commented 6 years ago

Hi, I use the vue-pikaday as the document,

<input type="text" class="form-control d-i-b" v-date="startDate" readonly>
export default{
        data () {
            return {
                startDate: ""
            };
        }
    };

but the an error occurs, and my vue version is 2.2.2. the error is as belows,

vue.min.js:6 TypeError: Cannot read property 'el' of undefined at bind (vue-pikaday.js:1) at oe (vue.min.js:6) at vue.min.js:6 at Array.ne (vue.min.js:6) at p (vue.min.js:6) at a (vue.min.js:6) at u (vue.min.js:6) at a (vue.min.js:6) at a.patch (vue.min.js:6) at a.t._update (vue.min.js:6)

newsourcing-ks commented 6 years ago

Same error unfortunately