Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I'm getting and error when trying to change the state of parent component on EditControl event #172

Open
armennersisyan opened this issue Mar 1, 2023 · 0 comments

Comments

@armennersisyan
Copy link

const onEditStart = () => { setState('Some state...') }

<EditControl position="topright" onCreated={onCreate} onDeleted={onDeleted} onEdited={onEdited} onEditStart={onEditStart} onEditStop={onEditStop} />

The error is Uncaught TypeError: Cannot read properties of undefined (reading 'dispose')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant