Repeater Calculate all quantity fields
Please, how do I get each individual quantity fields as well as the product id.
Essentially, I want to use the product id to get the product product price based on the quantity, then calculate the cost and sum the individual cost of the product and put the sum in the placeholder below.
Solution:Jump to solution
I was able to get it solve after looking at the documentation.
Below is my solution.
```
Forms\Components\Select::make('store_id')
->relationship('store', 'name') ...
1 Reply
Solution
I was able to get it solve after looking at the documentation.
Below is my solution.