@StevenM
I just tested this on a NodeJS project page. The date picker component works as expected.
How are you adding it on the page or are you copy-pasting its code from another project?
If you se
Unknown component found! date-picker
probably its js includes which are automatically added when you click the Make date picker button are missing.
OK, based on that I fixed the big form by adding a new text field and turned that text input into date picker using the right controls in the properties area and it loaded the correct header references.
So what I can tell is that you can not add in the code manually into the editor you have to use the right controls to make sure that it adds in the correct references in the header.
You can not copy and paste either as it will not pick up that you have a date and time picker in it.
It does seem that it does not always add in the correct headers and even setting up a test form the first time I added it it did not work and I got the error.
I am adding the form element by using the right app structure and right clicking and then adding the form and its elements.
Well yes, exactly. That is why we always advise to use the UI to add components. This way all the required files are being created and added.
Copy-pasting random parts of one page to other pages can cause lots of troubles
Perhaps there needs to be a warning if a date and time element is added to the page to let the user know that they need to make it a date and time using the properties menu.
Because if you do copy an element and put it in the page you look at the properties and it shows it as being a date and time and even in the Design view it shows you the date and time as working, but then when you open it up in a browser it does not work.
For all intensive purposes it looks like all is in order when you look at it.
This for example is the one which does not work but looking at it in editor all is working