Hello. There is a task http://prntscr.com/ghpvpq When you click on a quantity, a window should be displayed with editing the quantity. I can not figure out how to insert the necessary data into the window. If, for example, I clicked on an element of an object with index 1, how can I display the necessary data of this particular object in the window?
The object is constructed in a similar way:
listProducts: [ { name: 'Нож складной WENGER Evolution ,"Автобус" ,13 функций, 85 мм.WENGER', checkbox: true, image: require('./assets/product1.png'), price: 400, count: 3, sum: 0 }, { name: 'Рюкзак WENGER «NEO»', checkbox: false, image: require('./assets/product2.png'), price: 200, count: 3, sum: 0 }, { name: 'Перьевая ручка Waterman Hemisphere Essential, перо: нержавеющая сталь. WATERMAN', checkbox: true, image: require('./assets/product3.png'), price: 600, count: 3, sum: 0 } ],