{% ckan_extends %}

{% import 'macros/form.html' as form %}

{% block package_metadata_fields_maintainer %}
  {% set tag_attrs = {'data-module': 'autocomplete', 'data-module-tags': '', 'required': 'required', novalidate} %}

  {% if data.name %}
    {% set maintainers_value = data.maintainer %}
  {% else %}
    {% set maintainers_value = c.userobj.email %}
  {% endif %}

  {{ form.input('maintainer', label=_('Maintainers'), id='field-maintainer', placeholder=_('joe@example.com'), value=maintainers_value, error=errors.maintainer, classes=['control-full'], is_required=true, attrs=tag_attrs) }}
{% endblock %}

{% ckan_extends %}

{% import 'macros/form.html' as form %}

{% block package_metadata_fields_maintainer %}
  {% set tag_attrs = {'data-module': 'autocomplete', 'data-module-tags': '', 'required': 'required', 'novalidate':'novalidate'} %}

  {% if data.name %}
    {% set maintainers_value = data.maintainer %}
  {% else %}
    {% set maintainers_value = c.userobj.email %}
  {% endif %}

  {{ form.input('maintainer', label=_('Maintainers'), id='field-maintainer', placeholder=_('joe@example.com'), value=maintainers_value, error=errors.maintainer, classes=['control-full'], is_required=true, attrs=tag_attrs) }}
{% endblock %}

Add novalidate attribute to create dataset form
Add novalidate attribute to create dataset form
