Forms date picker - console error - moment js + pi...
# help-with-umbraco
w
Hi, I've been battling with some errors thrown when using the Umbraco Forms Date Picker. This happens on load and means that the date picker does not do anything when clicked. There are two console errors I am getting, its always either/ or and never together: * "moment lib has not been loaded" * "Pikaday is not defined" I have found old articles with people experiencing the same issues, however, their solutions are for legacy versions and do not seem applicable to me. Something that may be relevant from reading articles up on this: someone suggested that their issue was having two different version of jQuery which were conflicting. One was the version they had referenced and one was the version that moment.js was using. I somehow doubt it could be this as my issue is moment either not loading or pikaday not being defined, however, there's always a possibility. For reference, I attached a screenshot of the code breaking with arrows at the points it breaks. I am on v10.8.2 of Umbraco and v10.5.2 of Umbraco Forms. I did look at v10.5.3 of Forms, however, there was no mention of anything related so I doubt that will be what fixes this for me. https://cdn.discordapp.com/attachments/1199764349204562091/1199764349460434954/image.png?ex=65c3ba9f&is=65b1459f&hm=adfc14f06f9c9002b5d28ee2c775952cbf7f1e2bc142fb1c98d5a3d6c13fde4f&
14 Views