Can someone suggest me what is the best approach for dependant fields..
In my case, I want my input total_price to be dependant to:
1. room_id, which is later will have to get a price attribute from room model, required
2. discount, numeric input, not required
3. additional_services (with repeater), has name and price attribute, can be 0 items or not required.
So later, the input price will be a calculated data of those above 3 inputs.
Currently the form is in resource class..
I'm using filament v2.