[PR #5263] [MERGED] Fixes #5228 - has tag(s) filter now takes values when pressing Enter #5849

Closed
opened 2026-02-28 21:19:46 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/5263
Author: @seabeeberry
Created: 6/30/2025
Status: Merged
Merged: 7/3/2025
Merged by: @youngcw

Base: masterHead: fix/5228-has-tags-filter-empty


📝 Commits (3)

  • 244a836 Fixes #5228 - has tag(s) filter now takes values when typing quickly and pressing Enter
  • 77f510e Added release notes
  • 81bf90e State of GenericInput now gets updated with every keystroke

📊 Changes

2 files changed (+14 additions, -12 deletions)

View changed files

📝 packages/desktop-client/src/components/util/GenericInput.jsx (+8 -12)
upcoming-release-notes/5263.md (+6 -0)

📄 Description

When quickly typing into the filter input and pressing Enter, the entered value was not always correctly applied. Sometimes it resulted in an empty filter being created. In my test it ocurred for other types of filters as well, not only for "has tag(s)".

Updated the GenericInput component to add onChangeValue={onChange}, as suggested by @mauschil. Changed the defaultValue to value.

Now, however quickly you type a filter name and press Enter, your inputted value is correctly applied.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/5263 **Author:** [@seabeeberry](https://github.com/seabeeberry) **Created:** 6/30/2025 **Status:** ✅ Merged **Merged:** 7/3/2025 **Merged by:** [@youngcw](https://github.com/youngcw) **Base:** `master` ← **Head:** `fix/5228-has-tags-filter-empty` --- ### 📝 Commits (3) - [`244a836`](https://github.com/actualbudget/actual/commit/244a8369f799bc98e3253bcce99353f3a386be65) Fixes #5228 - has tag(s) filter now takes values when typing quickly and pressing Enter - [`77f510e`](https://github.com/actualbudget/actual/commit/77f510e44b183d1ce268990e76966bf2ff9092b7) Added release notes - [`81bf90e`](https://github.com/actualbudget/actual/commit/81bf90ee776d6fcf545bd6c78ed1209755a09b8c) State of GenericInput now gets updated with every keystroke ### 📊 Changes **2 files changed** (+14 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/util/GenericInput.jsx` (+8 -12) ➕ `upcoming-release-notes/5263.md` (+6 -0) </details> ### 📄 Description When quickly typing into the filter input and pressing Enter, the entered value was not always correctly applied. Sometimes it resulted in an empty filter being created. In my test it ocurred for other types of filters as well, not only for "has tag(s)". Updated the GenericInput component to add onChangeValue={onChange}, as suggested by @mauschil. Changed the defaultValue to value. Now, however quickly you type a filter name and press Enter, your inputted value is correctly applied. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-02-28 21:19:46 -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#5849