fritx / vue-at

At.js for Vue.
https://fritx.github.io/vue-at/
MIT License
529 stars 114 forks source link

WIP: implement v-model #38

Closed Brimstedt closed 6 years ago

Brimstedt commented 6 years ago

This add v-model to At-TextArea.

It's a quick fix, might break old functionalit.

Brimstedt commented 6 years ago

The v-model should be set on the AtTa component, not on the textarea. Textarea does not need v-text any more (which might break things)

fritx commented 6 years ago

@Brimstedt awesome!! v-model should be optional (non-breaking change). How is my solution (patch based on your commits)? https://github.com/fritx/vue-at/commits/feat/v-model

Will publish it later, and could be better if <div>s support v-model also.

Brimstedt commented 6 years ago

Your fix works well for me!