Reset Select with refresh select when another dependent select is modified

Use cases :
choose a category in the first select and choose a type in the second select. Types are category-specific.
When the category is changed, the type is always selected. But what would be nice is to have either a reset of this select or an error message.

To compensate for this, we use the conditional format. But it’s not optimal