Hot answers tagged

1 vote

When a custom form is displayed in a custom template, ajax does not work

The only variable available in a #theme form template is {{ form }} and this is the only thing you need to render. If you render single form elements or groups then include the rest of the form ...
  • 93.7k

Only top scored, non community-wiki answers of a minimum length are eligible