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

Error when store state value from PlainTextEdit #350

Open
kriptonhaz opened this issue Jul 1, 2021 · 0 comments
Open

Error when store state value from PlainTextEdit #350

kriptonhaz opened this issue Jul 1, 2021 · 0 comments

Comments

@kriptonhaz
Copy link

kriptonhaz commented Jul 1, 2021

Describe the bug
When trying to setState the value from PlainTextEdit it's always get an error after second keystrokes. The error shown like this

libc++abi.dylib: terminating with uncaught exception of type Napi::Error: Cannot read property 'toPlainText' of null

To Reproduce
Steps to reproduce the behavior:

  1. Follow the documentation for PlainTextEdit in here https://react.nodegui.org/docs/api/interfaces/plaintexteditprops/
  2. Change console.log into any setState hooks
  3. See error

Expected behavior
Value from PlainTextEdit can stored in the state

Desktop (please complete the following information):

  • OS: Mac OS
  • React NodeGUI version 0.10.2"
  • OS Version 10.15.7
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