Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Adding check for null-values in onMutation #654

Merged

Conversation

sindrebilden
Copy link

Keep getting this error when using core-suggest in React and the parent component re-render.

Uncaught TypeError: Cannot read properties of undefined (reading 'toLowerCase') 
at onMutation

Added a null safeguard to prevent it.

@skjalgepalg
Copy link
Collaborator

Thanks for providing a PR for this!

@skjalgepalg skjalgepalg merged commit b64f9cf into nrkno:master Aug 24, 2022
@skjalgepalg
Copy link
Collaborator

Published patch to npm. Release notes available here

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

Successfully merging this pull request may close these issues.

2 participants