question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The onChange property doesn't work in FormDialog Component

See original GitHub issue

The 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:closed
  • Created a year ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Pagebakerscommented, Sep 17, 2022

Perfect, thanks for the fix! I will release it tomorrow.

1reaction
Pagebakerscommented, Sep 17, 2022

If you have the time to create a PR to pass down onChange to the form that would be amazing 🙏

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found