diff --git a/templates/_components/form.twig b/templates/_components/form.twig index 9ca61ce..6684fc2 100644 --- a/templates/_components/form.twig +++ b/templates/_components/form.twig @@ -1,12 +1,14 @@ +{% set id = handle ~ '-' ~ random(1000, 9999) %} + {% set baseOptions = { - id: handle + id: id } %} {% if options is defined %} {% set baseOptions = baseOptions|merge(options) %} {% endif %} -