How to send parameters to filter a field releted data

I have created two custom modules: Brand and Model, where Model has a relationship with Brand, allowing a list of models related to each brand. So far, everything works correctly.

Now, in the Cases module, I have added relational fields pointing to Brand and Model. This is where I need help:

I want the relational field for Model to filter the options based on the selected Brand. Specifically, when a user selects a brand in the Brand relational field and then proceeds to fill in the Model field, it should display only the models associated with the previously selected brand.

In SuiteCRM 7, I could achieve this, in SuiteCRM 8, Iā€™m not sure how to implement this behavior. Could you guide me on how to do this in this version?

I would appreciate any help.