I have a table with data about a medical prescription and the user can type the prices of each medicine. The textfield is from a component, bc this widget can't be used in a dynamic table. What I need is to sum all of the prices and give a total to the client, but I don't know how to do this.
How to sum values from dynamic textfield
Actions & Logic
I used the app state to save the value typed, but when it has more than one medicine, I don't know how I can use the app state to do the sum of all.
Yes
2
10 replies