Skip to content

Commit

Permalink
fixed phone modal
Browse files Browse the repository at this point in the history
  • Loading branch information
immortalcodes committed Nov 29, 2024
1 parent 69d7a14 commit 4b4edde
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions static/js/src/dynamic-forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,11 @@ import { prepareInputFields } from "./prepare-form-inputs.js";

setCheckboxLimit();

// Sets up dial code dropdown options aka. intlTelInput.js
// and pre fills the country field
// This gets triggered when the modal is opened
prepareInputFields(phoneNumberInput, countryInput);

// Set preferredLanguage hidden input
function setpreferredLanguage() {
const preferredLanguage = getPrimaryParentLanguage();
Expand Down

0 comments on commit 4b4edde

Please sign in to comment.