# Bug OP-8942 - Can't fill in required custom fields when creating child work package

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 12.0.0 |
| Observed in versions |  |
| Sprint | 12.0.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 11.3.x  |
| 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

### **Environment**:

Your OpenProject Version: 11.3.3 / Self-hosted custom packages

openSUSE Leap 14.3 / Firefox / English

### **Steps to reproduce:**

1.  Open a work package
2.  Go to the relationships tab
3.  Click "create new child"
4.  Switch to a work package type with a required custom field

### **Actual Behavior**

The table of child work packages continues to display only ID, type, subject, and status columns, and the new child work package cannot be saved because there is no way to set a value for the required custom field ("Subsystem" in the screenshot below).

### **Expected Behavior**

The table of child work packages expands to include a column for the required field, as shown in the screenshot below:

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/21846/content"></div><figcaption class="op-uc-figure--description">Child work packages table expanded with column for required custom field</figcaption></figure>

### Responsible commit

This bug is caused by commit [7d005abe2d](https://github.com/opf/openproject/commit/7d005abe2d7b27349f93edfb74357460848a1a8f) which being a feature does not seem like it should have been included in OpenProject 11.3.3. I reverted that commit along with [a257edb8725](https://github.com/opf/openproject/commit/a257edb8725d02322458ef29f49a991985e85b00), recompiled the assets, and the problem was fixed. I don't know any TypeScript so I can't help any more than that, unfortunately.
