vuejs-datepicker
vuejs-datepicker copied to clipboard
Programmatically add class to input (or get input as ref)
I can't seem to figure out how to add a class to the input
during an event. My client wants an animated form label effect like Material's, so I was hoping to add a class of focused
when @selected
occurs.
Or, as an alternative, how can I access the input itself so I can do it with vanilla JS? Adding a ref
to the component only gets me the component and I'm unable to drill down to the input
element.
I have same problem ,Please help me!