I am trying to create a dojo DateTextBox in the custom formatted Info Window that pops up when clicking features on my map. Within my info template I have code that looks like this (only the relevent stuff is here):
infoTemplate.setContent(
"<label for='myDateInput'>Date: </label>" +
"<input id='myDateInput' type='text' data-dojo-type='dijit/form/DateTextBox' value='${DATE}' />"
);
Also have dijit/form/DateTextBox in my require statements.
Unfortunately the result is just a regular text input field with my date attribute in it, and not that drop down calendar.
The html works when I just put it directly on my html page to test, so I'm not sure why it doesn't like the dojo.