# Bug FPCV-40 - Last changes in formula when submitting by pressing Enter/Return inside formula are not saved

Project: Feature Project - Calculated value
Status: closed
URL: https://community.openproject.org/work_packages/FPCV-40

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 16.4.0 |
| Observed in versions | 16.3.0 |
| Bug found in version (deprecated) | 16.3.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

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

## Planning

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

## Costs

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

## Description

### How to reproduce

1.  Login as admin
    
2.  Go to Administration -&gt; Projects -&gt; Project Attributes and add a new project attribute of type **Calculated Value** (or edit an existing one)
    
3.  Focus the `formula` field and change it, then hit `Enter`.
    

### What is the bug you can observe

1.  After reload the change is gone.
    

### What is expected to happen?

1.  The change to formula should be submitted when you press `Enter` while the formula field is focused.
