The main problem of the issue is, that I want to get a dynamic price when a user enteres a new value into the textfield.
This means there has to be a price calculation in the backend. (There can be infinite possible results of this calculation).
For this purpose I want the frontend to request a new getProduct()-call in the backend on such event. The calculation
itself isn't the problem but how can I trigger it?
There also should be a possibiliy to add the parameter inserted in the textfield to the calculation invocation.
This means there has to be a price calculation in the backend. (There can be infinite possible results of this calculation).
For this purpose I want the frontend to request a new getProduct()-call in the backend on such event. The calculation
itself isn't the problem but how can I trigger it?
There also should be a possibiliy to add the parameter inserted in the textfield to the calculation invocation.