You need to sign in to do that
Don't have an account?
Krishna Katve
ui:inputselect error
Hi All,
I am getting
"This page has an error. You might just need to refresh it. Action failed: ui:inputSelect$controller$valueChange [Maximum call stack size exceeded] Failing descriptor: {ui:inputSelect$controller$valueChange}" error after selecting any value in ui:inputselect and there is no event written on it.
Inputselect tag from component:
<ui:inputSelect class="slds-input" labelClass="slds-form-element__label" label="Sales Org" aura:id="slsOrgPcklst" value="{!v.prepareOrderController.selectedSalesOrg}" disabled="{!v.prepareOrderController.quoteAlreadySubmited}">
<aura:iteration items="{!v.prepareOrderController.salesOrgs}" var="salesOrg">
<aura:if isTrue="{!v.prepareOrderController.selectedSalesOrg == salesOrg.value}">
<ui:inputSelectOption label="{!salesOrg.label}" text="{!salesOrg.value}" value="true"/>
<aura:set attribute="else">
<ui:inputSelectOption label="{!salesOrg.label}" text="{!salesOrg.value}"/>
</aura:set>
</aura:if>
</aura:iteration>
</ui:inputSelect>
Please advise.
Thanks in advance.
I am getting
"This page has an error. You might just need to refresh it. Action failed: ui:inputSelect$controller$valueChange [Maximum call stack size exceeded] Failing descriptor: {ui:inputSelect$controller$valueChange}" error after selecting any value in ui:inputselect and there is no event written on it.
Inputselect tag from component:
<ui:inputSelect class="slds-input" labelClass="slds-form-element__label" label="Sales Org" aura:id="slsOrgPcklst" value="{!v.prepareOrderController.selectedSalesOrg}" disabled="{!v.prepareOrderController.quoteAlreadySubmited}">
<aura:iteration items="{!v.prepareOrderController.salesOrgs}" var="salesOrg">
<aura:if isTrue="{!v.prepareOrderController.selectedSalesOrg == salesOrg.value}">
<ui:inputSelectOption label="{!salesOrg.label}" text="{!salesOrg.value}" value="true"/>
<aura:set attribute="else">
<ui:inputSelectOption label="{!salesOrg.label}" text="{!salesOrg.value}"/>
</aura:set>
</aura:if>
</aura:iteration>
</ui:inputSelect>
Please advise.
Thanks in advance.