JSFiddle - React, Tailwind, and code Playground

HTML

<form id="test">test</form>

JavaScript

$('#test').attr('novalidate', 'novalidate');