Day of Week not showing when using date-time picker #2048
-
Added Expected result to include the long day of the week, followed by the date in dd/mm/yyyy, then the time. Got the default format. Instructions followed are here: https://tw-elements.com/docs/standard/forms/datepicker/ I have the initialization all working as expected as well, but it seems additional js is not needed for this, but maybe the docs aren't clear enough and that's not true? What am I missing? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi! Try initializing the component via JS and providing the options for datepicker here. It should be working properly like that:
Make sure to remove the |
Beta Was this translation helpful? Give feedback.
-
By the way, this solution worked. Thanks! |
Beta Was this translation helpful? Give feedback.
Hi! Try initializing the component via JS and providing the options for datepicker here. It should be working properly like that:
Make sure to remove the
data-te-date-timepicker-init
data attribute orDatetimepicker
from theinitTE
method so that the component wont initialize twice.