[Select]: Initially selected item isn't validated correctly #6206
Labels
bug
Something isn't working
compatibility
Issues related to conflicts or problems with other independent projects or tools.
Describe the bug
Item in a Select component that was selected automatically on page load isn't recognised as selected by the "react-hook-form" package validation. On subsequent select of another item by the user, the validation correctly recognises that an item is selected.
Isolated Example
No response
Reproduction steps
Expected Behaviour
On step 2) of the "Testing the validation issue with the "UI5 Components for React" dropdown" section, we shouldn't see a validation error shown below the Select component.
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
The text was updated successfully, but these errors were encountered: