[Solved] [V1] QInput - question about property v-bind
After run the quasar demo, I found QInput has a great feature called v-bind. Please see below link.
But it never states in the online documentation.
So can I use this feature or is there anything to pay attention, thanks!
metalsadman last edited by
It’s vue data binding, https://vuejs.org/v2/guide/class-and-style.html, you see it a lot in quasar too for binding props using the shorthand colon
@metalsadman Thanks for your link!
I am having trouble finding examples of binding to sub-component with v-bind, and searching for :propName yields nothing. Any pointers would be appreciated. Simply want to pass two integers one-way to a sub-component and this has proven to be difficult.
s.molinari last edited by s.molinari
What sub-component? If you have two integers and a single prop, you’d need to use an object or an array. Can you put together a pen or fiddle to at least partially show what you are attempting?
Oh, and it’s better to start a new thread with your inquiry than to piggyback on someone else’s issue, which was resolved. Thanks!
@s-molinari Scott - thanks for your reply. I’ll mull over and get back in the coming days. Best wishes with m8a.