Allow required attribute on text directives