mirror of
https://github.com/itflow-org/itflow
synced 2026-09-21 06:01:15 +00:00
use intl js lib across all phone number fields
This commit is contained in:
4
agent/modals/vendor/vendor_add.php
vendored
4
agent/modals/vendor/vendor_add.php
vendored
@@ -76,8 +76,8 @@ ob_start();
|
||||
<div class="mb-3">
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-phone"></i></span>
|
||||
<input type="tel" class="form-control w-25 flex-grow-0" name="phone_country_code" placeholder="+" maxlength="4">
|
||||
<input type="tel" class="form-control" name="phone" placeholder="Phone Number" maxlength="200">
|
||||
<input type="hidden" name="phone_country_code">
|
||||
<input type="tel" class="form-control" name="phone" placeholder="Phone Number" maxlength="200" data-itflow-phone="phone_country_code">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
4
agent/modals/vendor/vendor_edit.php
vendored
4
agent/modals/vendor/vendor_edit.php
vendored
@@ -124,8 +124,8 @@ ob_start();
|
||||
<div class="mb-3">
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-phone"></i></span>
|
||||
<input type="tel" class="form-control w-25 flex-grow-0" name="phone_country_code" value="<?= $vendor_phone_country_code ?>" placeholder="+" maxlength="4">
|
||||
<input type="tel" class="form-control" name="phone" value="<?= $vendor_phone ?>" placeholder="Phone Number" maxlength="200">
|
||||
<input type="hidden" name="phone_country_code" value="<?= $vendor_phone_country_code ?>">
|
||||
<input type="tel" class="form-control" name="phone" value="<?= $vendor_phone ?>" placeholder="Phone Number" maxlength="200" data-itflow-phone="phone_country_code">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user