-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
bugissue that does not match design or documentation and requires code changes to addressissue that does not match design or documentation and requires code changes to address
Description
Expected Behavior
When Form element has validate="change".. The select component inside should validate onChange..
Actual Behavior
When Form element has validate="change".. The select component inside should validate onChange.. It is not validating onChange, instead when there is change on any other field inside that form then the validate is fired.
URL, screen shot, or Codepen exhibiting the issue
Here's a Codesandbox template that serves as a nice starting point for demonstrating an issue: https://codesandbox.io/s/wonderful-pascal-74dubv?file=/src/App.js
Steps to Reproduce
- Select any option in select component.. Notice the validate is not happening
- Now type a letter in textInput and validate will happen for both select and textInput component.
Your Environment
- Grommet version: 2.25.1
- Browser Name and version: Chrome
- Operating System and version (desktop or mobile): Desktop (Windows)
Metadata
Metadata
Assignees
Labels
bugissue that does not match design or documentation and requires code changes to addressissue that does not match design or documentation and requires code changes to address