JSFiddle - React, Tailwind, and code Playground

by Felix Fong

HTML

<input type='url' class='haydude' required>
<button class='unarm'>Unarm</button>

JavaScript

$('.unarm').click(function(){

$('.haydude').prop('required', false)

});