I implemented the dijit TimeTextBox in my code. When clicking in the textbox the time picker appears and I can set the time, e.g. 08:00.
Is there a way to disable the time picker, so that the user has to enter the time manually. I’d like to keep the validation feature of dojo.
I tried to set openOnClick=false but it had no effect. The documentation on http://dojotoolkit.org/api/1.6/dijit/form/TimeTextBox tells me, that it should activate the drop down if set to true.
Any help is greatly appreciated.
Many thanks,
Elvira
Probably there is no way to disable the drop down for the TimeTextBox yet. Setting openOnclick to true just insures that the drop down is shown upon clicking anywhere on the textbox. If you just need the validation and not the time picker, following might just help. I have used “dijit.form.ValidationTextBox” with the regex validation.
OR