I'm getting this: Missing required prop: date (found in component: <date-picker>)
If I add :date="{time: inDate}", it works fine. But non of my watch event works. I tried watching both date and time props. I can see date changed in datepicker. How do I catch it?
Update:
Was able to catch event listening to 'date.time'().
I'm using following versions:
Datepicker component is defined according to docs:
I'm getting this:
Missing required prop: date (found in component: <date-picker>)
If I add:date="{time: inDate}"
, it works fine. But non of my watch event works. I tried watching bothdate
andtime
props. I can see date changed in datepicker. How do I catch it?Update: Was able to catch event listening to
'date.time'()
.