Issue #2577963 by yched, amateescu, klausi: Let entity_ref Selection handlers be in charge of the field validation