Skip to content

Commit

Permalink
fix: Disable auto-filling of country name in tax popup (#5286)
Browse files Browse the repository at this point in the history
* Disabled auto-filling of information during Tax Pop-up in wizard step-1

* replaced placeholder string by respective field name in autocomplete attribute

* placeholder replaced by country in autocomplete attribute

* changed the autocomplete attribute of input feilds

* removed extra space from input attributes
  • Loading branch information
ShreyanshSrivastava committed Oct 12, 2020
1 parent 35d1d76 commit 6a3c1f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/templates/components/modals/tax-info-modal.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div class="field">
<label class="required">{{t 'Choose country'}}</label>
<UiDropdown @class="search selection" @selected={{this.tax.country}} @forceSelection={{false}} @fullTextSearch={{true}}>
<Input @type="hidden" @autocomplete="no" @id="tax_country" @value={{this.tax.country}} />
<Input @type="hidden" @autocomplete="tax-country" @id="tax_country" @value={{this.tax.country}} />
<i class="dropdown icon"></i>
<div class="default text">{{t 'Select country'}}</div>
<div class="menu">
Expand Down

1 comment on commit 6a3c1f2

@vercel
Copy link

@vercel vercel bot commented on 6a3c1f2 Oct 12, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.