Issue #3207💬 AnsweredOpened December 23, 2020by shkhalid1 reactions

Form is not submitting

Quick answerby gixid1921

The important part - the html is missing. If you can, you should share the code in codesandbox or similar online editors.

Read full answer below ↓

Question

I am trying to create as custom block. But the form is not submitting when i use components inside content. I am able to get all the form data when i use content instead of component. But then it's not allowing me drag new inputs to form.

Answers (4)

gixid192December 24, 2020

The important part - the html is missing. If you can, you should share the code in codesandbox or similar online editors.

artfDecember 31, 2020

Yeah, we need the complete code to understand the issue. Anyway, if you're using script please define a Custom Component instead of placing it directly in the Block, or you'll face issues on storing. I know that this is how is illustrated in the documentation but the usage of blocks was there only...

no-response[bot]January 10, 2021

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we ne...

GJSBlockMay 17, 2026

Thanks for reporting this, @shkhalid. Great suggestion about Form is not submitting! While this specific feature isn't yet in the core API, there are several ways to achieve similar behavior. Using the event system: Alternative approaches: Listen to selector:add for CSS selector changes Use selecto...

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.