fritx / vue-at

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

Add support for input #40

Closed rap2hpoutre closed 5 years ago

rap2hpoutre commented 6 years ago

I can use vue-at for div and textarea but not input. Do you think it could be possible?

Thanks for your package.

fritx commented 6 years ago

But I'm not sure replacing those querySelector('textarea') to 'textarea, input' could solve it, worth a try.

https://github.com/fritx/vue-at/blob/41e40f7e2f1076c2d35c188930f922befd031995/src/AtTextarea.vue#L28

fritx commented 6 years ago

@rap2hpoutre btw, could you use a <textarea rows="1" style="resize:none"> instead of an <input>? Related comment: https://github.com/fritx/vue-at/issues/11#issuecomment-329032102

rap2hpoutre commented 6 years ago

@fritx That's what I have done, so it's OK I guess! Thanks!

raind33 commented 4 years ago

@rap2hpoutre btw, could you use a <textarea rows="1" style="resize:none"> instead of an <input>? Related comment: #11 (comment)

now cound it support input?