1 respuesta
Hi Narendra, It seems your data binding has an issue. Can you check if v.cn.Birthdate is a valid attribute and it is case sensative? value="{!v.con.Birthdate}"You may try add change that binding to a temporary attribute:add line:<aura:attribute name="Birthdate" type="Date"/>Update line in html<ui:inputDate aura:id="bdate" change="{!c.datehandler}" class="slds-input select-auto-width" value="{!v.Birthdate}"and js file component.set('v.Birthdate',formattedDoB);This can confirm your change method is work.It could be when you retrieve data in Apex, the Birthdate field is not in SOQL.