Validator depends another field

It’s possible to change the validator from a field in runtime?
I wanna to create one Select and one TextField, and bind with my Binder.

But I need to change the textfield validator depends on the selected item in my Select? So If my user select one item in select I uses X validator if he select another item I use Y validator.

tks

If you have access to the select, you could just create a combined validator that takes the current value from the select and validates accordingly. Otherwise it gets a little bit more complicated because you have to remove and re-create the binding of the other field