Fixes for first selction on Radio Buttons

This commit is contained in:
David Bomba 2024-09-06 08:17:03 +10:00
parent 1d45a3944b
commit 7444355dee
10 changed files with 61 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -345,7 +345,7 @@
"src": "resources/js/setup/setup.js"
},
"resources/sass/app.scss": {
"file": "assets/app-8ee358d6.css",
"file": "assets/app-fee1da41.css",
"isEntry": true,
"src": "resources/sass/app.scss"
}

View File

@ -53,5 +53,13 @@
document.getElementById('pay-now').addEventListener('click', function() {
document.getElementById('server-response').submit();
});
const first = document.querySelector('input[name="payment-type"]');
if (first) {
first.click();
}
</script>
@endpush

View File

@ -51,6 +51,13 @@
document.getElementById('pay-now').addEventListener('click', function() {
document.getElementById('server-response').submit();
});
const first = document.querySelector('input[name="payment-type"]');
if (first) {
first.click();
}
</script>
@endscript

View File

@ -54,5 +54,13 @@
document.getElementById('pay-now').addEventListener('click', function() {
document.getElementById('server-response').submit();
});
const first = document.querySelector('input[name="payment-type"]');
if (first) {
first.click();
}
</script>
@endpush

View File

@ -52,5 +52,13 @@
document.getElementById('pay-now').addEventListener('click', function() {
document.getElementById('server-response').submit();
});
const first = document.querySelector('input[name="payment-type"]');
if (first) {
first.click();
}
</script>
@endscript

View File

@ -54,5 +54,12 @@
document.getElementById('pay-now').addEventListener('click', function() {
document.getElementById('server-response').submit();
});
const first = document.querySelector('input[name="payment-type"]');
if (first) {
first.click();
}
</script>
@endpush

View File

@ -52,5 +52,13 @@
document.getElementById('pay-now').addEventListener('click', function() {
document.getElementById('server-response').submit();
});
const first = document.querySelector('input[name="payment-type"]');
if (first) {
first.click();
}
</script>
@endscript

View File

@ -63,5 +63,12 @@
document.getElementById('pay-now').addEventListener('click', function() {
document.getElementById('server-response').submit();
});
const first = document.querySelector('input[name="payment-type"]');
if (first) {
first.click();
}
</script>
@endpush

View File

@ -61,5 +61,12 @@
document.getElementById('pay-now').addEventListener('click', function() {
document.getElementById('server-response').submit();
});
const first = document.querySelector('input[name="payment-type"]');
if (first) {
first.click();
}
</script>
@endscript