Error: Input is a void element in v0

I was creating a module, and whenever I used any button, I got this error:

“input is a void element tag and must neither have children nor use dangerouslySetInnerHTML.”

So I tried publishing the site, and it worked fine. What bothers me is that I spent ages trying to fix that error and burning through credits. For now, it’s only happening in this module, and I need a solution. I don’t plan to keep wasting credits foolishly.

Same isssue for me. Always happen same error wasting my credits as well

Hi @chuponsito, I’m sorry you are facing this issue. Is it that the deployed version works correctly but not in preview? Also, what is the exact route where this happens? Can you share the chat URL so I can take a look at the project?

Yes, at the moment the site is deployed, it works.

Information sent privately

Nice enticing header btw “I need an explanation”

1 Like

Thanks @lukek. I’ve updated it to be more informative now.

1 Like

Hi Sasha, let me take a look.

I promise I was being serious hahahahaha it works, gets people to click

1 Like

Hi @chuponsito, as discussed, I’ll pass on the issue to our team and post here when I have updates. I would suggest against redoing the app. One suggestion would be to ask it to redo the Form that opens when you click that blue button or the other form in dialog on the /inventory page.