I have some bootbox confirmations, alerts, prompts etc. on a BS4 project and they no longer seem to work since the recent addition of Bootbox for BS5.
e.g. I add a simple button to a page:
<button id="btn5" class="btn" dmx-on:click="run({'bootbox.confirm':{buttons:{confirm:{label:'Yes'},cancel:{label:'No'}},message:'Choose',title:'Which?',centerVertical:true,then:{steps:{alert:{message:'yes'}}},else:{steps:{alert:{message:'no'}}}}})">Button</button>
to display a native alert depending on which button was pressed. The cancel (No button) does not dismiss the Bootbox modal, the close X doesn’t display properly and doesn’t close the modal. Neither of tehse two ‘cancel’ actions trigger the else event as it looks like it is the closing of the modal that triggers it. The OK (Yes) button does show the alert but doesn’t hide the modal.
It looks like the modal classes are now only suitable for BS5 which makes it break my BS4 pages