AsyncSelector dependant on another selector - Custom Editor

Hello,

I am working on a panel plugin which currently has two async selectors made with a custom editor which are loaded with the options builder.

The goal is to have one selector dependand on the other, this means the options selector B has are according to the selection made on selector A.

I have managed to achieve this but I still have some undesired behavior which I cant fix. When the user changes the selector A, I haven’t found a way to clear the selection from selector B and re-load the async options. What I am looking for is a way to once a change is made to my selector A, the selection on selector B is cleared and the options are re-loaded. Is there a way to achieve this with options builder and custom editor?

Thank you in advance.