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
LUIGI EMANUEL TAORMINALUIGI EMANUEL TAORMINA 

How can I insert two values ​​obtained from two aura: attribute in the ID, Quantity fields of the map?


<aura:attribute name="MapQuantity" type="Map" default="{'Id': , 'quantity':}"/>

How can I insert two values ​​obtained from two aura: attribute in the ID, Quantity fields of the map?
 
ravi soniravi soni

hi LUIGI EMANUEL TAORMINA,
could you more explain your requirement. I didn't get and try below tag maybe you can get a reference.
<aura:attribute name="MapQuantity" type="Map" default="{ 'Id': '', 'quantity': '' }"/>

let me know by marking it as best answer if it helps you or if you get any issue please explain your requirment.
Thank you

LUIGI EMANUEL TAORMINALUIGI EMANUEL TAORMINA
Hi ,on the ID and Quantity fields of the map how do I enter the two values in the controller. I would like to know how to dynamically insert two values inert of the two fields