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]: V2 Input Component's valueState Display Incorrect Popover When ValueState Set to Empty or Undefined #10115

Open
1 task done
mrmabo opened this issue Oct 30, 2024 · 0 comments
Labels
bug This issue is a bug in the code

Comments

@mrmabo
Copy link

mrmabo commented Oct 30, 2024

Bug Description

When the valueState property of the Input component is set to an empty string or undefined, an incorrect valueState message popover appears.
However, When the valueState porperty is set to "None", the incorrect popover won't display.

Affected Component

Input

Expected Behaviour

If valueState is set to undefined or an empty string, it should default to "None" to prevent the incorrect popover from appearing.

Isolated Example

https://stackblitz.com/edit/github-pzlhay-jzepmf?file=src%2FApp.tsx,package.json

Steps to Reproduce

  1. Use the Input component.
  2. Set the valueState property to "" (empty string) or undefined.
  3. Observe the valueState message popover that appears.
  4. Set the valueState property to "None", and note that the popover does not appear.

Log Output, Stack Trace or Screenshots

Screenshot 2024-10-30 at 1 57 10 PM

Priority

Very High

UI5 Web Components Version

2.3.0

Browser

Chrome, Edge, Firefox, Safari

Operating System

No response

Additional Context

No response

Organization

SF

Declaration

  • I’m not disclosing any internal or sensitive information.
@mrmabo mrmabo added the bug This issue is a bug in the code label Oct 30, 2024
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
Projects
None yet
Development

No branches or pull requests

1 participant