-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Labels
BugItem which indicates that something is not workingItem which indicates that something is not workingC: DropDownListKendoReactSEV: Mediumpkg:Dropdownspkg:Form
Description
I'm submitting a...
- Bug report
Current behavior
The onSubmitClick should be executed even when all the fields are invalid. This is how it is described in the API:
Called every time the user presses the Submit button. Useful in advanced scenarios when you need to handle every submit event, even when the form is invalid or not modified state.
However, when having a component from the @progress/kendo-react-dropdowns packages like the DropDownList, the event is not fired.
https://stackblitz.com/edit/react-xbpuuf-cnhpt5?file=app%2Fmain.jsx
Expected behavior
The onSubmitClick event is always fired. This is the case when only rendering Inputs.
https://stackblitz.com/edit/react-xbpuuf-rybs1l?file=app%2Fmain.jsx
Minimal reproduction of the problem with instructions
- Open this example - https://stackblitz.com/edit/react-xbpuuf-cnhpt5?file=app%2Fmain.jsx
- Click on the DropDownList in order to trigger its invalid state
- Click the submit button, onSubmitClick is not fired
Ticket ID: 1654874
Metadata
Metadata
Assignees
Labels
BugItem which indicates that something is not workingItem which indicates that something is not workingC: DropDownListKendoReactSEV: Mediumpkg:Dropdownspkg:Form