UI5 / UI5/webcomponents

[ui5-input]: this.previousValue is not updated when the 'value' is not updated by typing

Open
#14,034 3 comments 0 reactions 1 assignee View on GitHub

@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
  1. Select 'Austria' in ComboBox, then you can see in Input that it has value 'f'
  2. Type 'fff' in ComboBox, then click the Input or press the 'tab' key to focus in to the Input.
  3. Wait for 1 second, and you can see the Input's value is changed to empty.
  4. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.