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

Setting ValueState to error clears the field #4090

Closed
ekansh005 opened this issue Jul 13, 2024 · 2 comments
Closed

Setting ValueState to error clears the field #4090

ekansh005 opened this issue Jul 13, 2024 · 2 comments

Comments

@ekansh005
Copy link

ekansh005 commented Jul 13, 2024

OpenUI5 version:
1.108.33, works as expected till 1.108.32

Browser/version (+device/version):
Chrome/Safari

Any other tested browsers/devices(OK/FAIL):
Fails on all browsers

URL (minimal example if possible):
demo - https://ekansh005.github.io/Ui5LiveChangeValueStateIssue/
repo - https://github.com/ekansh005/Ui5LiveChangeValueStateIssue

User/password (if required and possible - do not post any confidential information here):

Steps to reproduce the problem:

  1. start typing any value in the input field
  2. you will notice that as soon as you type the first character, it got cleared
  3. type 9th character and it will clear again

What is the expected result?
It should just set the value state to Error or None but should not cleat the user input

What happens instead?
When value state is set, it is clearing the user input as well which is wrong.

Any other information? (attach screenshot if possible)
Since 1.108 is LTS, the fix should be made available in this version.

@tsanislavgatev tsanislavgatev self-assigned this Jul 16, 2024
@tsanislavgatev
Copy link
Contributor

Hello @ekansh005 ,
Thank you for sharing this finding. I've created an internal incident DINC0041816. The status of the issue will be updated here in GitHub.
Regards,
Tsanislav

@MapTo0
Copy link
Member

MapTo0 commented Jul 22, 2024

Hey @ekansh005

We have already fixed that error with 29d58b5

I see that you've loaded 1.108.30 https://github.com/ekansh005/Ui5LiveChangeValueStateIssue/blob/main/index.html#L9

The fix will be available in 1.108.32

@MapTo0 MapTo0 closed this as completed Jul 22, 2024
@flovogt flovogt added fixed and removed in progress labels Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants