[Bug]: When focusing Notes field to select text - it removes a space in the text on unfocus #2553

Open
opened 2026-02-28 20:18:49 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @iddqdRepo on GitHub (Oct 18, 2025).

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

When focusing 'Notes' field to select text - it removes a space in the text on unfocus for some fields.
This messes up rules that involve matching text on notes.

The notes will show:
To 1. Main EndToEndID: FRI From 2. Savings

When the text input is focused, the text in the text input is:
To 1. MainEndToEndID: FRI From 2. Savings

This doesn't happen to all fields,
All my fields are imported from GoCardless/Danske bank - but I am not sure if this is the only instance.

Other potentially useful debugging info.

Network Activity:

When I first click the field, the app sends a POST request named sync.
Clicking the field again doesn't send any requests.
If I click for a 3rd time and edit the text and unfocus, it sends another sync POST request.
The payload looks like this (trimmed and anonymized):

transactions
$<transaction-id>
notes
S:To 1. MainEndToEndID: FRI From 2. Savings

So it seems the initial click is sending off a post request to edit the field and remove the space for some reason?

How can we reproduce the issue?

Open a transaction imported via GoCardless (from a DanskeBank account) - not sure if others are impacted, or if manual ones are impacted I don't have other accounts

Look at the Notes field. e.g.
To 1. Main EndToEndID: FRI From 2. Savings

Click into the Notes field. The text in the input changes to:
To 1. MainEndToEndID: FRI From 2. Savings

Click outside the field - the space stays missing and the change is saved

Where are you hosting Actual?

Pikapods

What browsers are you seeing the problem on?

Chrome

Operating System

Windows 10

Originally created by @iddqdRepo on GitHub (Oct 18, 2025). ### Verified issue does not already exist? - [x] I have searched and found no existing issue ### What happened? When focusing 'Notes' field to select text - it removes a space in the text on unfocus for some fields. This messes up rules that involve matching text on notes. The notes will show: `To 1. Main EndToEndID: FRI From 2. Savings` When the text input is focused, the text in the text input is: `To 1. MainEndToEndID: FRI From 2. Savings` This doesn't happen to all fields, All my fields are imported from GoCardless/Danske bank - but I am not sure if this is the only instance. # Other potentially useful debugging info. Network Activity: When I first click the field, the app sends a POST request named sync. Clicking the field again doesn't send any requests. If I click for a 3rd time and edit the text and unfocus, it sends another sync POST request. The payload looks like this (trimmed and anonymized): ``` transactions $<transaction-id> notes S:To 1. MainEndToEndID: FRI From 2. Savings ``` So it seems the initial click is sending off a post request to edit the field and remove the space for some reason? ### How can we reproduce the issue? Open a transaction imported via GoCardless (from a DanskeBank account) - not sure if others are impacted, or if manual ones are impacted I don't have other accounts Look at the Notes field. e.g. `To 1. Main EndToEndID: FRI From 2. Savings` Click into the Notes field. The text in the input changes to: `To 1. MainEndToEndID: FRI From 2. Savings` Click outside the field - the space stays missing and the change is saved ### Where are you hosting Actual? Pikapods ### What browsers are you seeing the problem on? Chrome ### Operating System Windows 10
GiteaMirror added the user interfacebug labels 2026-02-28 20:18:49 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#2553