I encountered the same problem, i was trying to disable the html5 validation using a hook_form_alter
function custommodule_form_alter(&$form, FormStateInterface $form_state, $form_id)
{
if ($form_id == 'contact_message_feedback_form') {
$form['#attributes']['novalidate'] = '';
}
}
but it dint work, and when i inspected the html code of the page i notice that the no validate atribute was been added to de div wrapping the form.
I hope this helps.
ramonma1989 → created an issue.
I used #10 ✨ Allow SMTP servers with self-signed certificates Needs work with smtp 8.x-1.2, it worked for me, thanks.