I want to put the attribute "required" dinamically on an input text field using Renderer2. The attribute is added, but the field doesn\'t turn to invalid when the fiel