---
title: "lfDisableTab"
canonical: "https://support.appfire.com/space/PSJ/15480221/lfDisableTab"
format: markdown
---
> Macro (aura-html)


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | lfDisableTab(field) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Disables the given tab of a provided name.

Disables the given tab of a provided name.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| field | String | Yes | The name of the tab to disable. |

## Return Type

**None**

## Example

You can disable the **Field** tab on the issue for users that are not admins.

```javascript
if(assignee != "admin") {
     lfDisableTab("Additional Tab");
 }
```

## See also

> Macro (contentbylabel)