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:
- Follow the documentation for PlainTextEdit in here https://react.nodegui.org/docs/api/interfaces/plaintexteditprops/
- Change console.log into any setState hooks
- 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
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
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Value from PlainTextEdit can stored in the state
Desktop (please complete the following information):