ui5-webcomponents-react icon indicating copy to clipboard operation
ui5-webcomponents-react copied to clipboard

ComboBox: Selected item isn't validated correctly

Open nikolay-8 opened this issue 1 year ago • 0 comments

Describe the bug

The "react-hook-form" package validation doesn't work correctly when the user selects an item in a ComboBox component. However, it works correctly when selecting an item in a Select component or typing text in an Input component.

Isolated Example

No response

Reproduction steps

  1. Clone locally this repository containing demo of the issue
  2. Execute the steps in the "Getting Started" section of the Readme (or the repository's home page)
  3. Execute the steps in "Reproducing validation issue with ComboBox component of "UI5 Components for React" package" section of the Readme (or the repository's home page). They demonstrate the issue including expected/actual behavior.

Expected Behaviour

At the end of the test sequence described in 3) in "Reproduction steps": to have no validation errors.

Screenshots or Videos

No response

UI5 Web Components for React Version

1.29.2

UI5 Web Components Version

N/A

Browser

Chrome

Operating System

MacOS

Additional Context

No response

Relevant log output

No response

Organization

No response

Declaration

  • [X] I’m not disclosing any internal or sensitive information.

nikolay-8 avatar Aug 20 '24 14:08 nikolay-8