Skip to main content Stream TDX Bengaluru on Salesforce+. Start learning the critical skills you need to build and deploy trusted autonomous agents with Agentforce. Register for free.
Component-Markup:

<div class="slds-form-element__control">

<div class="uiInput uiInputDate uiInput--default uiInput--input uiInput--datetime">

             <label class="label inputLabel uiLabel-left form-element__label uiLabel">

              <span class="">{!v.customField.musqotmpm__startdate__c.Label}</span>

              <span class="required ">*</span>

      <aura:if isTrue="{!!empty(v.customField.musqotmpm__startdate__c.InlineHelpText)}">

     <lightning:helptext content="{!v.customField.musqotmpm__startdate__c.InlineHelpText}" />

         </aura:if>

           </label>

<lightning:input aura:id="date-StartDate" type="date" name="" label="" class="ltng-label-hide" value="{!v.sObject.Musqotmpm__StartDate__c}"                                                                                                                                                                                onchange="{!c.handlePeriod}" />

                                                                                    </div>

                                                                                </div>

Component:Js:

closeModal : function(component, event, helper) {

        component.set("v.hasErrors", false);

         $A.get('e.force:refreshView').fire();

        //$A.get("e.force:closeQuickAction").fire();

        //helper.readCustomField(component, event, helper);

        //document.location.reload(true);

        helper.hideModal(component, event, helper);

        //component.set('v.sObject', {});       

        if(!component.get('v.fromPlan')){

            window.history.back();

        }

},

    Lightning:input values are not getting refreshed when we are cancel it
3 个回答
正在加载
0/9000