The onChange property doesn't work in FormDialog Component
See original GitHub issueThe onChange property doesn’t work in FormDialog Component
<FormDialog
title="New post"
{...disclosure}
onChange={() => {
console.log("This is not called")
}}
onSubmit={onSubmit}
>
</FormDialog>
The onChange is missed here in form props destructuring.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
ReactJS: element isn't updated when state changes
My onChange() event is working, in that when I type the correct name I see It's a match! in my console and the...
Read more >Troubleshoot form issues in model-driven apps - Microsoft Learn
Use URL parameters to disable various form components ... it disables the following event handlers: OnLoad, OnSave, business rule, OnChange, ...
Read more >React Grid - Editing in a Popup Form | DevExtreme Reactive
This component renders pop-up form elements: a title, multiple text fields in a grid, and Save and Cancel buttons. When the onChange event...
Read more >Dialog | Docs - TinyMCE
A dialog is a popup UI element that contains a header, body and footer, each containing specific types of sub-components. Dialogs also have...
Read more >Input Components - React-admin - Marmelab
An Input component displays an input, or a dropdown list, a list of radio buttons, etc. Such components allow to edit a record...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Perfect, thanks for the fix! I will release it tomorrow.
If you have the time to create a PR to pass down onChange to the form that would be amazing 🙏