You need to sign in to do that
Don't have an account?
Vivekh88
Input value is not loading on first time page load in lightning?
Hi,
I have a Input field on a table. When i load the lightning page for the first time the value of input is empty. But when i refresh the page am able to see the value. Am calling the brand in init() only. Still am not able to populate value on first time page load. What is the issue?
Vivek
I have a Input field on a table. When i load the lightning page for the first time the value of input is empty. But when i refresh the page am able to see the value. Am calling the brand in init() only. Still am not able to populate value on first time page load. What is the issue?
Component: <div class="cell brand clickable" onclick="{!c.handleSort}" data-changes-field-name="brand.Name" data-current-field-name="Product_Brand__c"> <input value="BRAND" readonly="true"/> <div class="sort-icon"> <aura:if isTrue="{!v.changesSortField == 'brand.Name'}"> <lightning:icon iconName="{! v.sortDirection > 0 ? 'utility:arrowdown' : 'utility:arrowup'}" size="xx-small"></lightning:icon> <aura:set attribute="else"> <lightning:icon iconName="utility:sort" size="xx-small" class="inactive"> </lightning:icon> </aura:set> </aura:if> </div> <div class="click-target"></div> </div>Thanks
Vivek