1

<div class="slds-form-element">
<div class="slds-form-element__control">
   <ui:inputText aura:id="grcpno"
                 label="gr cpno"
                 class="slds-input"
                 labelClass="slds-form-element__label"
                 value="{!v.grcpno.Name}"
                 required="true"/>

</div>

</div>


<div class="slds-form-element">
<div class="slds-form-element__control">
   <ui:inputText aura:id="startDate"
                 label="Start Date"
                 class="slds-input"
                 labelClass="slds-form-element__label"
                 value="{!v.StartDate.Date__c}"
                displayDatePicker="true"/>

</div>

</div>

<div class="slds-form-element">
<div class="slds-form-element__control">
   <ui:inputText aura:id="endDate"
                 label="End Date"
                 class="slds-input"
                 labelClass="slds-form-element__label"
                 value="{!v.endDate.Date__c}"
                 displayDatePicker="true"/>

</div>

</div>

1 Answer 1

2

I think you want to use ui:inputDate not ui:inputText

enter image description here

2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .