Skip to content

Commit

Permalink
Bugfix: disabled autofill on country and state fields for the bill ad…
Browse files Browse the repository at this point in the history
…dress form
  • Loading branch information
Alejandro Tejada committed Nov 10, 2023
1 parent e88652a commit 9523c3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/templates/account/plans/includes/billing-address-form.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</div>
<div class="form-input state">
<label for="state">State</label>
<select name="state" data-country-selector="state-selector" required>
<select autocomplete="off" name="state" data-country-selector="state-selector" required>
<?php foreach ($state_list as $state) : ?>
<option value="<?= $state['code'] ?>">
<?= $state['name']; ?>
Expand All @@ -25,7 +25,7 @@
</div>
<div class="form-input country">
<label for="country">Country</label>
<select name="country" data-country-selector="selector" required>
<select autocomplete="off" name="country" data-country-selector="selector" required>
<?php foreach ($country_list as $country) : ?>
<option value="<?= $country["code"] ?>" <?php ($country["code"] === "US") ? 'selected' : '' ?>>
<?= $country["name"]; ?>
Expand Down

0 comments on commit 9523c3e

Please sign in to comment.