Skip to content

Commit

Permalink
Disable browser autofill for contacted station
Browse files Browse the repository at this point in the history
Resolves #983
  • Loading branch information
xylo04 committed Mar 23, 2022
1 parent 1669bf7 commit dce083d
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions src/app/shared/qso-detail/qso-detail.component.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--suppress HtmlFormInputWithoutLabel -->
<h2 mat-dialog-title>QSO Details</h2>
<mat-dialog-content>
<form [formGroup]="qsoDetailForm">
<form [formGroup]="qsoDetailForm" autocomplete="dummy">
<div fxLayout="row" class="row">
<div fxFlex>
<mat-form-field appearance="standard">
Expand Down Expand Up @@ -78,13 +78,15 @@ <h2 mat-dialog-title>QSO Details</h2>
class="callsign"
formControlName="stationCall"
autocapitalize="characters"
autocomplete="dummy"
spellcheck="false"
/>
</mat-form-field>
</div>
<div fxFlex="30%">
<mat-form-field appearance="standard">
<mat-label>Name</mat-label>
<input matInput formControlName="opName" />
<input matInput formControlName="opName" autocomplete="dummy" />
</mat-form-field>
</div>
<div fxFlex="20%">
Expand All @@ -95,6 +97,7 @@ <h2 mat-dialog-title>QSO Details</h2>
class="latLong"
formControlName="latitude"
type="number"
autocomplete="dummy"
/>
<mat-hint>+N/-S</mat-hint>
</mat-form-field>
Expand All @@ -107,14 +110,19 @@ <h2 mat-dialog-title>QSO Details</h2>
class="latLong"
formControlName="longitude"
type="number"
autocomplete="dummy"
/>
<mat-hint>+E/-W</mat-hint>
</mat-form-field>
</div>
<div fxFlex="10%">
<mat-form-field appearance="standard">
<mat-label>Grid</mat-label>
<input matInput formControlName="gridSquare" />
<input
matInput
formControlName="gridSquare"
autocomplete="dummy"
/>
</mat-form-field>
</div>
<div fxFlex>
Expand All @@ -133,13 +141,13 @@ <h2 mat-dialog-title>QSO Details</h2>
<div fxFlex>
<mat-form-field appearance="standard">
<mat-label>City</mat-label>
<input matInput formControlName="city" />
<input matInput formControlName="city" autocomplete="dummy" />
</mat-form-field>
</div>
<div fxFlex>
<mat-form-field appearance="standard">
<mat-label>State/Province</mat-label>
<input matInput formControlName="state" />
<input matInput formControlName="state" autocomplete="dummy" />
</mat-form-field>
</div>
<div fxFlex>
Expand All @@ -149,6 +157,7 @@ <h2 mat-dialog-title>QSO Details</h2>
matInput
formControlName="country"
[matAutocomplete]="countryAutocomplete"
autocomplete="dummy"
/>
<mat-autocomplete #countryAutocomplete="matAutocomplete">
<mat-option
Expand Down Expand Up @@ -191,6 +200,8 @@ <h2 mat-dialog-title>QSO Details</h2>
class="callsign"
formControlName="stationCall"
autocapitalize="characters"
autocomplete="dummy"
spellcheck="false"
/>
</mat-form-field>
</div>
Expand Down

0 comments on commit dce083d

Please sign in to comment.