# Bug OP-12834 - Unable to edit CF as Value is required

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-12834

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 13.0.0 |
| Observed in versions |  |
| Sprint | 13.0.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Login to QA Edge
2.  Go to Administration -\> Custom fields
3.  Create a custom field of type User and select "Used as filter" checkbox
4.  Save the form
5.  Once the CF is created, open it again in orded to edit
6.  Unselect "Used as filter" and click Save

### What is the buggy behavior?

  - Error message that Value is mandatory

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/58643/content">

### What is the expected behavior?

1.  Value section should not even appear on the form and prevent from saving

### Important note

Might be a regression from <mention class="mention" data-id="48241" data-type="work_package" data-text="#48241">\#48241</mention> 

**OpenProject version**

*13.0* 7e3b82f6 (2023-06-22 19:38:12 +0000)
