reverted: fixed required validations for text-inputs