Open thomas4Bitcraft opened 3 years ago
Really nobody?
I can reproduce it, seems to happen when you press a key
I have the same error I think. It looks like the cause is this line: https://github.com/alfonsobries/vue-tailwind/blob/7ff9278d66a8b75234fbfedcd6dc1ed1c51f50cf/src/components/TDatepicker.ts#L573
If you have no timepicker then $refs.timePicker is null leading to the error. A simple fix would be to change the line to
(this.$refs.timePicker as TimePicker)?.focus();
There is an error when trying to manually type in the date:
Here is my component:
Anybody already had this issue and is there maybe a workaround?