Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input component typscript doesn't fire onInput event when pressing Escape #11021

Closed
1 task done
jakobmagiera opened this issue Mar 6, 2025 · 2 comments · Fixed by #11079
Closed
1 task done

Input component typscript doesn't fire onInput event when pressing Escape #11021

jakobmagiera opened this issue Mar 6, 2025 · 2 comments · Fixed by #11079
Assignees
Labels
bug This issue is a bug in the code released SAP Signavio SAP Signavio TOPIC RL

Comments

@jakobmagiera
Copy link

Bug Description

The Input component does not fire an onInput event when pressing Escape, even though this causes the text to be cleared.

Affected Component

Input

Expected Behaviour

onInput should be triggered with an empty string when pressing Escape.

Isolated Example

https://stackblitz.com/edit/ui5wcr-at-birpimmt?file=src%2FApp.tsx

Steps to Reproduce

  1. Type a word into the input
  2. See it copied into the state variable
  3. Press escape
  4. Input is cleared
  5. state variable hasn't changed

Log Output, Stack Trace or Screenshots

No response

Priority

None

UI5 Web Components Version

2.7.2

Browser

Chrome

Operating System

MacOS

Additional Context

No response

Organization

SAP

Declaration

  • I’m not disclosing any internal or sensitive information.
@jakobmagiera jakobmagiera added the bug This issue is a bug in the code label Mar 6, 2025
@nnaydenow
Copy link
Contributor

Hello @SAP/ui5-webcomponents-topic-rl,

Could you please check this issue? The live value of the ui5-input is changed when escape key is pressed, but input event is not fired.

@nnaydenow nnaydenow added the SAP Signavio SAP Signavio label Mar 6, 2025
@ndeshev ndeshev moved this from New Issues to In progress in Maintenance - Topic RL Mar 10, 2025
@ndeshev ndeshev self-assigned this Mar 10, 2025
ndeshev added a commit that referenced this issue Mar 12, 2025
@github-project-automation github-project-automation bot moved this from In progress to Completed in Maintenance - Topic RL Mar 19, 2025
@ui5-webcomponents-bot
Copy link
Collaborator

🎉 This issue has been resolved in version v2.9.0-rc.1 🎉

The release is available on v2.9.0-rc.1

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug in the code released SAP Signavio SAP Signavio TOPIC RL
Projects
Status: Completed
Development

Successfully merging a pull request may close this issue.

4 participants