function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jake BullardJake 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>