first commit
This commit is contained in:
commit
b71ea45681
898 changed files with 138202 additions and 0 deletions
1
static/assets/js/modal-enable-otp.js
Normal file
1
static/assets/js/modal-enable-otp.js
Normal file
|
@ -0,0 +1 @@
|
|||
"use strict";document.addEventListener("DOMContentLoaded",function(e){var n;(n=document.querySelector(".phone-number-otp-mask"))&&new Cleave(n,{phone:!0,phoneRegionCode:"US"}),FormValidation.formValidation(document.getElementById("enableOTPForm"),{fields:{modalEnableOTPPhone:{validators:{notEmpty:{message:"Please enter your mobile number"}}}},plugins:{trigger:new FormValidation.plugins.Trigger,bootstrap5:new FormValidation.plugins.Bootstrap5({eleValidClass:"",rowSelector:".col-12"}),submitButton:new FormValidation.plugins.SubmitButton,autoFocus:new FormValidation.plugins.AutoFocus},init:e=>{e.on("plugins.message.placed",function(e){e.element.parentElement.classList.contains("input-group")&&e.element.parentElement.insertAdjacentElement("afterend",e.messageElement)})}})});
|
Loading…
Add table
Add a link
Reference in a new issue