# Selected field is not clearel

**URL:** <https://forums.ankiweb.net/t/selected-field-is-not-clearel/20923>\
**Category:** Help\
**Created:** [June 21, 2022, 1:26am UTC](https://forums.ankiweb.net/t/selected-field-is-not-clearel/20923 "2022-06-21T01:26:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ArthurMilchior](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/arthurmilchior/32/4684_2.png) [@ArthurMilchior](https://forums.ankiweb.net/u/ArthurMilchior)\
**Post date:** [June 21, 2022, 1:26am UTC](https://forums.ankiweb.net/t/selected-field-is-not-clearel/20923/1 "2022-06-21T01:26:29Z")

</div>

Running 30c6bd58c99da4f9f9f5176ebaac6bbb819c7e5c with shift pressed to remove add-ons

How to reproduce:

- open `add note`. Enter values in any fields.
- While the cursor is in a field with text, not sticky field, press ctrl+enter

Expected result:

- the field is emtpied

Actual result:

- the field value is kept

Research:

- if instead of the shortcut, I click on “add”, the field is emptied

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [June 21, 2022, 2:11am UTC](https://forums.ankiweb.net/t/selected-field-is-not-clearel/20923/2 "2022-06-21T02:11:28Z")

</div>

Sigh, didn’t notice this report until after releasing rc2. Thanks Arthur. 🙂

---

<div class="post-metadata">

**Author:** ![ArthurMilchior](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/arthurmilchior/32/4684_2.png) [@ArthurMilchior](https://forums.ankiweb.net/u/ArthurMilchior)\
**Post date:** [June 21, 2022, 2:25pm UTC](https://forums.ankiweb.net/t/selected-field-is-not-clearel/20923/3 "2022-06-21T14:25:57Z")

</div>

I suspect it’s related. In the browser, if you press ctrl+n/p, the content of the field having the cursor is copied to the new selected note.  
The issue don’t occur if you just click on another note in the list.

Edit: I had forgotten to pull. It seems it was solved in recent commit

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [May 1, 2023, 4:12am UTC](https://forums.ankiweb.net/t/selected-field-is-not-clearel/20923/4 "2023-05-01T04:12:09Z")

</div>

Closed on May 1, 2023, 4:12am UTC


