AnsweredAssumed Answered

Aikau DateBoxControl

Question asked by muralidharand on Nov 16, 2015
Latest reply on Nov 17, 2015 by ddraper
Hi experts,
I would like to disable the previous date selection in the Aikau DateBox Control.
Can someone please guide on this?

https://dojotoolkit.org/reference-guide/1.8/dijit/form/DateTextBox.html

Dojo date control support constraint.min and constraint.max properties to control the date selection, but I am not sure, how we can add this in Aikau DateTextBox controls.



    {
      name : "alfresco/forms/controls/DateTextBox",
      config : {
      
         label : "Completion Date",      
         name : "prop_expectedCompletionDate",
         requirementConfig : {
            initialValue : true
         },
         constraints
         {
             min: new Date()
         },
         value : currentDate
      }
    }


Outcomes