# Feature AUTOWORK-142 - Variants can disable fields in the form configuration screen (when using linked mode)

Project: Stream Workflows & Automations
Status: tested
URL: https://community.openproject.org/work_packages/AUTOWORK-142

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 18.0.0 |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Use cases

_No work packages_

## Features and Chunks

| ID | Subject | Type | Status | Assignee | Target versions | Spent time |
| --- | --- | --- | --- | --- | --- | --- |
| AUTOWORK-143 | Implement data model and queries to allow disabling certain elements in linked mode | Implementation | closed |  | 18.0.0 |  |
| AUTOWORK-150 | Implement UI for toggling attributes in the form configuration | Implementation | closed |  | 18.0.0 |  |
| AUTOWORK-151 | Remove hidden attributes when moving form configuration to independent | Implementation | closed |  | 18.0.0 |  |

## Bugs and other work packages

| ID | Type | Subject | Status | Assignee | Target versions | Spent time | Module |
| --- | --- | --- | --- | --- | --- | --- | --- |
| AUTOWORK-186 | Bug | Missing 'Disable all/Enable all' toggle on linked mode form configuration | rejected | OP Dev Sirius Team | 18.0.0 |  | Administration / Type/Variants and Workflows |

## Technical Details

| Attribute | Value |
| --- | --- |
| Module | Administration / Type/Variants and Workflows |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan | Community (COM) |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Build Number |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead | Oliver Günther |
| Developers | Oliver Günther |
| Designer | Parimal Satyal |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**Acceptance criteria**

  - In linked mode, show toggle switches for all attributes and query groups

  - In the group header for attributes, show Disable all / Enable all buttons

  - When toggled off, the attribute is not used in the variant

  - When the source of the form configuration is linked itself, and disables some attributes, the attributes are hidden

  - When switching from linked mode to independent, only the active attributes are copied over to independent

**Technical notes**

  - This allows us to easily create variants from project custom field configurations as decided in <mention class="mention" data-id="76674" data-type="work_package" data-text="##FND-134" data-display-id="FND-134">\#\#FND-134</mention>
