Showing 1 – 2 of 2 replies
vfadmin

React DatePicker Formatting is Broken 9.3.0

vfadmin PURCHASED
7 months ago
I unzipped the 9.3.0 package and ran `yarn` and then `yarn start`. Everything started up fine (some warnings when loading packages). I am trying to use the react-datepicker and noticed that the demo project doesn't render that component correctly. Any ideas? I've included a screenshot.

https://i.imgur.com/BSP7eOj.png
vfadmin
vfadmin PURCHASED
7 months ago
I added `import "react-datepicker/dist/react-datepicker.css";` to Advanced.tsx and it started working. But I don't know if this was actually the 'right' thing (I'm very new to React).

Might be worth looking into, though.

https://i.imgur.com/Mk7H4tf.png
Coderthemes
Coderthemes SELLER
7 months ago
Hi,

Yes, you need to add css on top.

Let me know, if you have any queries over support(at)coderthemes(dot)com

Best regards,
Coderthemes

Last edited 7 months ago