> For the complete documentation index, see [llms.txt](https://jsf.gitbook.io/jsf/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jsf.gitbook.io/jsf/schema/property-options/disabling-property.md).

# Disabling property

Enabled if interface:

```
 enabledIf?: { $eval: string; dependencies: string[]; }
```

Inside $eval you can write your own JS code, that must return true, false or undefined. If it returns true, prop is enabled.

```javascript
{
  "schema": {
    "type": "object",
    "properties": {
      "numberInput": {
        "type": "integer",
        "enabledIf": "return false",
        "title": "You can't change me!"
      }
    }
  }
}
```
