Out of nowhere, all the submit buttons in my application started immediately throwing this error when clicked:
> Cannot set property enabled of #<Object> which has only a getter
The buttons don’t even change to the “busy” state or trigger the corresponding API call.
I rolled the project back almost to the beginning, but the issue persists. This makes me think the problem might be related to the frontend in the V0 web environment, since the error does not occur when I access the preview URL.
Because my app requires login, I’m completely stuck and afraid of losing the last working version of my code.
I’ve already spent a lot of credits on the large model trying to fix this, but nothing has worked.
After wasting 3 hours trying to solve this problem, I decided to search on Google and saw your post. It happens to me too, and I can’t find a way to fix it. I thought it was something in my app and had to redo components, but in the end, it was a waste of time because those changes caused v0 to change everything in my app (components, functions, etc.).
Like you, I went back to an initial version where the error didn’t appear, and none of them work.
Same here! and also spent 3-4 hours going in circles with v0 to no avail… Nonetheless, seeing this post gives me hope! I asked v0 chat if they had any updates or anything pushed recently but it’s not allowed to access that info. I’ll just go ahead and leave it to tomorrow and pray it’s a bug and resolved by then.
I’m also facing this error — sign-in works fine locally but breaks in both v0.dev and preview with Cannot set property 'enabled' of #<Object> which has only a getter. Hope this gets fixed soon.
Same for me. I get the error in v0.dev in the branch that was working 3 days ago. It’s the same branch I’m running in production where I see no errors.
Hey everyone, I downloaded the code from the last working version before the issue started, and when running it locally, everything works fine. This leads me to believe the problem might be related to the behavior of the button component or some specific function tied to it that only manifests in the preview environment within v0.
Still no solution for the issue, but I’m able to move forward with the project locally using another AI agent to assist me.