When I create a Select and try to click on it in Studio Preview, the preview page shows the following: “Error: Cannot set properties of undefined (setting ‘nodeToRestore’)”. If I remove all its options (label/value items) then clicking on it doesn’t throw the error (nor does it shows any options since I deleted them all). I tried deleting the component entirely and inserting a new one, but I’m getting the same results. Help
I got this issue this morning and it was fixed by updating the plasmic package for the host app.
Excellent. Can you give me the exact command line? I actually forgot that plasmic node packages need to be kept up to date, if that’s what you’re referring to.
@chungwu Do you have any insight on this?
Are you using codegen or headless api?
I use codegen, but in this one case I decided to click the Studio Preview button to try out the Select.
You should be able to upgrade your @plasmicapp/react-web
and @plasmicapp/host
packages… like npm i @plasmicapp/react-web @plasmicapp/host
or yarn add @plasmicapp/react-web @plasmicapp/host