Skip to content

Commit 7a71c59

Browse files
replaced placeholder string by respective field name in autocomplete attribute
1 parent f6b892e commit 7a71c59

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

app/templates/components/modals/tax-info-modal.hbs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div class="field">
77
<label class="required">{{t 'Choose country'}}</label>
88
<UiDropdown @class="search selection" @selected={{this.tax.country}} @forceSelection={{false}} @fullTextSearch={{true}}>
9-
<Input @type="hidden" @autocomplete="some-random-string" @id="tax_country" @value={{this.tax.country}} />
9+
<Input @type="hidden" @autocomplete="tax-country" @id="tax_country" @value={{this.tax.country}} />
1010
<i class="dropdown icon"></i>
1111
<div class="default text">{{t 'Select country'}}</div>
1212
<div class="menu">
@@ -21,20 +21,20 @@
2121
</div>
2222
<div class="field">
2323
<label class="required">{{t 'Tax name'}}</label>
24-
<Input @type="text" @autocomplete="some-random-string" @id="tax_name" @value={{this.tax.name}} />
24+
<Input @type="text" @autocomplete="tax-name" @id="tax_name" @value={{this.tax.name}} />
2525
</div>
2626
<div class="field">
2727
<label class="required">{{t 'Tax rate'}}</label>
28-
<Input @type="number" @autocomplete="some-random-string" @id="tax_rate" @min={{0}} @max={{100}} @value={{this.tax.rate}} />
28+
<Input @type="number" @autocomplete="tax-rate" @id="tax_rate" @min={{0}} @max={{100}} @value={{this.tax.rate}} />
2929
</div>
3030
<div class="field">
3131
<label class="required">{{t 'Tax ID'}}</label>
32-
<Input @type="text" @autocomplete="some-random-string" @id="tax_id" @value={{this.tax.taxId}} />
32+
<Input @type="text" @autocomplete="tax-id" @id="tax_id" @value={{this.tax.taxId}} />
3333
</div>
3434
<div class="field">
3535
<label>{{t 'Tax Invoices'}}</label>
3636
<div class="ui checkbox">
37-
<Input @type="checkbox" @autocomplete="some-random-string" @id="send_tax_invoices" @name="send_tax_invoices" @checked={{this.tax.shouldSendInvoice}} />
37+
<Input @type="checkbox" @autocomplete="send-tax-invoices" @id="send_tax_invoices" @name="send_tax_invoices" @checked={{this.tax.shouldSendInvoice}} />
3838
<label for="send_tax_invoices">
3939
<strong>{{t 'Send tax invoice to attendees'}} : </strong>
4040
<span class="text muted">
@@ -46,26 +46,26 @@
4646
</div>
4747
<div class="field">
4848
<label>{{t 'Registered Company'}}</label>
49-
<Input @type="text" @autocomplete="some-random-string" @id="tax_invoice_company" @value={{this.tax.registeredCompany}} />
49+
<Input @type="text" @autocomplete="tax-invoice-company" @id="tax_invoice_company" @value={{this.tax.registeredCompany}} />
5050
</div>
5151
<div class="field">
5252
<label>{{t 'Business Address'}}</label>
53-
<Textarea @rows={{3}} @autocomplete="some-random-string" @id="tax_invoice_address" @value={{this.tax.address}} /> </div>
53+
<Textarea @rows={{3}} @autocomplete="tax-invoice-address" @id="tax_invoice_address" @value={{this.tax.address}} /> </div>
5454
<div class="field">
5555
<label>{{t 'City'}}</label>
56-
<Input @type="text" @autocomplete="some-random-string" @id="tax_invoice_city" @value={{this.tax.city}} />
56+
<Input @type="text" @autocomplete="tax-invoice-city" @id="tax_invoice_city" @value={{this.tax.city}} />
5757
</div>
5858
<div class="field">
5959
<label>{{t 'State'}}</label>
60-
<Input @type="text" @autocomplete="some-random-string" @id="tax_invoice_state" @value={{this.tax.state}} />
60+
<Input @type="text" @autocomplete="tax-invoice-state" @id="tax_invoice_state" @value={{this.tax.state}} />
6161
</div>
6262
<div class="field">
6363
<label>{{t 'Zipcode'}}</label>
64-
<Input @type="text" @autocomplete="some-random-string" @id="tax_invoice_zipcode" @value={{this.tax.zip}} />
64+
<Input @type="text" @autocomplete="tax-invoice-zipcode" @id="tax_invoice_zipcode" @value={{this.tax.zip}} />
6565
</div>
6666
<div class="field">
6767
<label>{{t 'Text for invoice footer (optional)'}}</label>
68-
<Textarea @rows={{3}} @id="tax_invoice_footer" @value={{this.tax.invoiceFooter}} /> </div>
68+
<Textarea @rows={{3}} @autocomplete="tax-invoice-footer" @id="tax_invoice_footer" @value={{this.tax.invoiceFooter}} /> </div>
6969
<div class="grouped fields">
7070
<label for="privacy">{{t 'Add or Include Tax Fee'}}</label>
7171
<div class="field">

0 commit comments

Comments
 (0)