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)
});
by Felix Fong
<input type='url' class='haydude' required>
<button class='unarm'>Unarm</button>
$('.unarm').click(function(){
$('.haydude').prop('required', false)
});