dashName
dashName
> > > Hi @dashName , your state should be like this > > > ``` > > > state = { > > > tableCounters: [] > > >...
> @dashName, you can send your custom `onChange` method, so I can see if is there any problem? const handleChange = (e) => { console.log(e.currentTarget.value,row) this.setState(prevState => ({ tableCounters: prevState.tableCounters.map((item,...
> Your `onChange` method is not actually changing the counter for a specific row, you need to pass along with the event the row index that you want to change...
> Hi @dashName, it worked properly? seems to be working fine.But only thing is handleChange Triggers on Click on add to cart button as well so cart gets messed up
> > Hi @dashName, it worked properly? > > seems to be working fine.But only thing is handleChange Triggers on Click on add to cart button as well so cart...
> Hi, I didn't understand, can you explain in more details? so in the below logic: handleChange = (rowIndex, e) => { this.setState(prevState => ({ tableCounters: prevState.tableCounters.map((item, index) => {...
> I think you are missing the `e` on the `formatExtraData`, it should be > > ```js-jsx > formatExtraData(rowIndex, e) > ``` I think it seems to be working.I actually...
> > > I think you are missing the `e` on the `formatExtraData`, it should be > > > ``` > > > formatExtraData(rowIndex, e) > > > ``` >...
> > > I think you are missing the `e` on the `formatExtraData`, it should be > > > ``` > > > formatExtraData(rowIndex, e) > > > ``` >...
Hey @Ymbere I know its been long since this discussion but just was curious if there is a way to sort the field.let say i incremented the quantity and sort...