# WidgetConfigStatus Type documentation

## TypeScript declaration

### [WidgetConfigStatus](<https://github.com/siemens/element/blob/main/projects/dashboards-ng/src/model/widgets.model.ts#L238-L249>)

**Kind:** interface

```
import type { WidgetConfigStatus } from '@siemens/dashboards-ng';
```

Object is used to inform the editor hosting component about configuration changes to configure (e.g. enable/disable) the control buttons accordingly.

```
interface WidgetConfigStatus
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [invalid](<https://github.com/siemens/element/blob/main/projects/dashboards-ng/src/model/widgets.model.ts#L248-L248>) | `boolean` | If true, save or add button will be disabled. |
| [modified](<https://github.com/siemens/element/blob/main/projects/dashboards-ng/src/model/widgets.model.ts#L243-L243>) | `boolean` | Indicates that the configuration was changed. If true, canceling the editor will first show a dialog to confirm the discard. |
