All fields can turn red when I try to remove required attribute on dom (The red area in the image above). But if remove required attribute from AEM node, the numberfield become not required. Only textfield turns red. Does that mean I should remove that attribute via javascript?