i have display my form in twig. But submission not working.
Any solution please.?

{{ form.title}}
{{ form.field_add_stock}}
{{ form.action.submit}}

Comments

Asad Ali Akram created an issue.

suraj_vantagode’s picture

Please add the below form elements into your twig file then it should work:
{{ form.form_build_id }}
{{ form.form_token }}
{{ form.form_id }}
{{ form.actions }}

Reference: https://www.drupal.org/forum/support/module-development-and-code-questio...