You need to sign in to do that
Don't have an account?
Jake Bullard
List attribute in flow not allowed.
Hey guys I have a super simple lightning component that uses a list variable and the iternate function. But I hit a road block when I go to say the Design so I can pass data to that variable in my flow. I get the error below.
The lightning:availableForFlowScreens interface doesn't support these attribute types in the design resource: list. : Source
Any suggestions on a work around for this?
Cmp
<aura:component access="global" implements="lightning:availableForFlowScreens"> <aura:attribute name="OrderList" type="List" default="1,2,3,3,3" /> <aura:attribute name="AmountToOrder" type="decimal"/> <aura:iteration items="{! v.OrderList }" var="item"> <p>{!item }<lightning:input type="Decimal" name="AmountToOrder" aura:id="AmountToOrder" value="{!v.AmountToOrder}" style="width: 50px; "/></p> </aura:iteration> </aura:component>