The problem is that with required equal true, the user can only choose one item of level 3. What I need is that the user can choose any item in the hierarchy. Without setting the field as required, the user can select any option, but I need to force the user to choose one.
I'd suggest not using required with select_tree as the logic is confusing. The required attribute will be applied to all select, no matter where it is and which level it has.