1
hi
it seems that there is a problem with cancel button in bootstrap5
currently we are using
button class="btn btn-danger me-1" onClick="history.go(-1);return true;" . _CANCEL . /button
but this cause that it is treated like clicking on confirm button, as the submit event takes place
my solution is to replace by
input type="button" class="btn btn-danger me-1" name="cancel" id="cancel" onClick="history.go(-1);return true;" value=". _CANCEL . "
I created a PR
https://github.com/XOOPS/XoopsCore25/pull/1481or is there a better solution?