This has never happened to me before but I have this form and when I click on the button, it does not do anything, as if I clicked a <button type="button"></button>
element, this is just happening in Safari because in other browsers it works correctly (some code is rendered server side, I'm using Laravel):
<form method="post" action="{{ route('checkout.realizar.compra') }}" id="form-compra-tarjeta">
@csrf
<input type="hidden" value="Tarjeta" name="tipo">
<div class="button yellow"><button type="submit" class="btn-confirmar">Confirmar pago</button></div>
</form>
I don't know if this has anything to do but I have other forms inside my view, but they are not nested, each one of them are in separate places. If I inspect the element there's nothing to be seen, neither inside the network tab, it does not try to even go to the action url.
I have also this javascript (with jQuery) code that just disables the button and changes the text when the button is clicked, though I don't think it has something to do with it.
$('.btn-confirmar').on('click', function(e){
$(this).attr('disabled', true);
$(this).html('Realizando compra... <i class="fas fa-spin fa-circle-notch"></i>');
});