I have a sweetlalert popup like this below
Swal.fire({
icon: "warning",
title: 'By deleting this thing, you will delete all data related',
text: "Are you sure you want to delete this ?",
input: 'checkbox',
inputPlaceholder: 'I understand the consequenses',
showCancelButton: true,
confirmButtonColor: '#3085d6',
cancelButtonColor: '#d33',
confirmButtonText: 'Yes',
cancelButtonText: 'No',
reverseButtons: true
}).then(function(result){
})
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@9"></script>
Right now, the text position is before the checkbox.
I want to ask, how can I change the position so the text and button confirm in sweetalert position is after the checkbox and inactive, then after checkbox is checked, the text and button is become active ?
Thank you