Allow start interface to be named 0
This commit is contained in:
13
js/app.js
13
js/app.js
@@ -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
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user