Haixing-Hu / vue-datetime-picker

A Vue.js component implementing the datetime picker control using the Eonasdan's bootstrap datetime picker plugin.
http://haixing-hu.github.io/vue-datetime-picker/
MIT License
341 stars 77 forks source link

Attributes "name", ":model.sync", ":on-change" are ignored on component <vue-datetime-picker> because the component is a fragment instance #24

Open stygiansabyss opened 7 years ago

stygiansabyss commented 7 years ago

I've seen issues mentioning this but I could not find a working solution.

Set up: Laravel Elixir WebPack Vue files

<vue-datetime-picker class="vue-picker1" name="picker1" language="en"
    v-ref:start-picker
    type="datetime"
    :model.sync="form.start_time">
</vue-datetime-picker>

Tried requiring the full path as mentioned in a previous issue, but then I get datetime() as undefined. Any help would be greatly appreciated.

nacr commented 7 years ago

Hello did you check #11 ?

stygiansabyss commented 7 years ago

Yeah. Could not find any combination of anything that worked.