AnsweredAssumed Answered

Dojo DateTextBox within formatted InfoTemplate

Question asked by canadajebus on Jun 10, 2015
Latest reply on Apr 26, 2017 by dairist

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):



     "<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.