mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 12:43:09 -05:00
* Fixes #5228 - has tag(s) filter now takes values when typing quickly and pressing Enter * Added release notes * State of GenericInput now gets updated with every keystroke --------- Co-authored-by: Seray Ciftci <seri@Mac.fritz.box>
This commit is contained in:
@@ -64,10 +64,9 @@ export function GenericInput({
|
||||
return (
|
||||
<Input
|
||||
ref={ref}
|
||||
defaultValue={value || ''}
|
||||
value={value || ''}
|
||||
placeholder={t('nothing')}
|
||||
onEnter={onChange}
|
||||
onUpdate={onChange}
|
||||
onChangeValue={onChange}
|
||||
/>
|
||||
);
|
||||
}
|
||||
@@ -190,10 +189,9 @@ export function GenericInput({
|
||||
content = (
|
||||
<Input
|
||||
ref={ref}
|
||||
defaultValue={value || ''}
|
||||
value={value || ''}
|
||||
placeholder={getMonthYearFormat(dateFormat).toLowerCase()}
|
||||
onEnter={onChange}
|
||||
onUpdate={onChange}
|
||||
onChangeValue={onChange}
|
||||
/>
|
||||
);
|
||||
break;
|
||||
@@ -202,10 +200,9 @@ export function GenericInput({
|
||||
content = (
|
||||
<Input
|
||||
ref={ref}
|
||||
defaultValue={value || ''}
|
||||
value={value || ''}
|
||||
placeholder="yyyy"
|
||||
onEnter={onChange}
|
||||
onUpdate={onChange}
|
||||
onChangeValue={onChange}
|
||||
/>
|
||||
);
|
||||
break;
|
||||
@@ -262,10 +259,9 @@ export function GenericInput({
|
||||
content = (
|
||||
<Input
|
||||
ref={ref}
|
||||
defaultValue={value || ''}
|
||||
value={value || ''}
|
||||
placeholder={t('nothing')}
|
||||
onEnter={onChange}
|
||||
onUpdate={onChange}
|
||||
onChangeValue={onChange}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
6
upcoming-release-notes/5263.md
Normal file
6
upcoming-release-notes/5263.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [seabeeberry]
|
||||
---
|
||||
|
||||
Fix bug where "has tag(s)" filter created empty tag when using Enter key
|
||||
Reference in New Issue
Block a user