validation in base editor mixin