What are you trying to do?
I’m trying to remove a state variable that I no longer intent to use. Every time I delete it I get this error:
It goes into ‘read-only’ mode and my changes are not saved
What have you tried so far?
Tried to deleted, refreshed, tried to deploy changes and then delete
Relevant links:
Hello @rafael_ferreira, we have identified the issue, thank you for the report.
We will send a message here when the issue is fixed.
I just tried to delete a component and got this message:
After messing around a while, I found out that down the tree, there was a component tied to a Run Code somewhere. I tried deleting the lowest level component, and then the error message correctly identified the dependency rather than breaking my session.
Hoping that helps someone else out.
Hello @EmCmNeDt
Could you provide a minimal reproducible example or the exact steps to reproduce the issue?
I wish I could! It can’t replicate it for some reason. I tried repeating every step I could think of… but Plasmic Studio worked as expected. It correctly identified the right link to prevent deletion:
No matter what I did.
Sounds like a bizarre one-off edge case. Still, someone may benefit from knowing to try the bottom-most component if deleting a component causes the read-only error.