datepicker
datepicker copied to clipboard
[Vue warn]: Invalid prop: type check failed for prop "inputClass". Expected Object, got Array.
Why there is object expected? How you suppose to build it?
My current datepicker setup:
:inputClass="['classOne', 'classTwo']"
The value of the inputClass
prop is passed to the :class
binding, so yes it should accept an object or an array, but if you just want to pass static classes you can simply use the regular class
attribute: https://vuejs.org/v2/guide/class-and-style.html#With-Components