New answers tagged

2

Be careful with cAsE-sEnSiTiViTy: <aura:If isTrue="{!PQs.AnswerID == Dropdown.Listid}"> Is not: <aura:if isTrue="{!PQs.AnswerID == Dropdown.Listid}"> Aside from that, consider using eq instead: <aura:if isTrue="{!PQs.AnswerID eq Dropdown.Listid}"> Note that the docs specifically state: Don’t use the == operator for objects, as ...


0

I have done it by following way: change lightning:input from To in component file. And in controller get the current row and whole array: orderPriceChange : function(component, event, helper) { var value = event.getSource().get('v.name'); var filteredMdu = component.get("v.InstnceOfLineItem"); //did some calculation and update array of ...


1

component <aura:component> <aura:attribute name="options1" type="List" default="['1','2','3']"/> <aura:attribute name="options" type="List" default="[{'label': '', 'value': 'option1'}]"/> <aura:attribute name="value" type="String" default="option1"/> <aura:iteration items="{!v.options1}" var="organization"> &...


1

Need use only one aura:iteration <!-- Adds Debt Type field--> <aura:iteration items="{!v.DebtsType}" var="DebtType"> <lightning:select aura:id="{!DebtType.Debtid}" value="{!DebtType.Debtvalue}" label="{!...


Top 50 recent answers are included