[ui5-input]: this.previousValue is not updated when the 'value' is not updated by typing
Open
@ivoplashkov is already working on this.
Since Sep 10, 2026.
bug
TOPIC RL
- Dominant language
- TypeScript
- Stars
- 1.8k
- Forks
- 285
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 59
Description
Bug Description
Hello.
When programmatically updates the Input's value after focus in to the Input, the Input's change event is not triggered.
I think the this.previousValue is not updated in this case.
Please have a look at the isolated example and steps to reproduce.
Regards.
Affected Component
ui5-input
Expected Behaviour
No response
Isolated Example
https://stackblitz.com/edit/fmpohs6z-mkhxrje3?file=index.js
Steps to Reproduce
- Select 'Austria' in ComboBox, then you can see in Input that it has value 'f'
- Type 'fff' in ComboBox, then click the Input or press the 'tab' key to focus in to the Input.
- Wait for 1 second, and you can see the Input's value is changed to empty.
- Type 'f' in Input as same as the previous value of the Input, then focus out from the Input. You can see that nothing is logged in console since the 'change' event was not triggered.
Log Output, Stack Trace or Screenshots
No response
Priority
None
UI5 Web Components Version
2.25.2
Browser
Chrome
Operating System
No response
Additional Context
No response
Organization
No response
Declaration
- I’m not disclosing any internal or sensitive information.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.