showField(fieldName, show)

Hide or show specified field.

Parameters:

  • fieldName (String): the full name of the field;
  • show (Boolean): true to show the field; false to hide the field.

Example:

Hide a form field:

this.projectForm.showField('project.proj_mgr', false);