Allow start interface to be named 0

This commit is contained in:
johnnyq
2025-03-21 21:54:55 -04:00
parent 0647933df7
commit 8e3dd42a32
5 changed files with 17 additions and 3 deletions

View File

@@ -439,4 +439,15 @@ $(function () {
});
// Data Tables
new DataTable('.dataTables');
new DataTable('.dataTables');
// Initialize International Phone Input
const inputs = document.querySelectorAll('input[type="tel"]');
// Loop through all the selected inputs and initialize intlTelInput on each one
inputs.forEach(input => {
window.intlTelInput(input, {
initialCountry: "us",
strictMode: true,
loadUtils: () => import("../plugins/intl-tel-input/js/utils.js") // for formatting/placeholders etc
});
});