Skip to content

Commit

Permalink
Merge branch 'master' into bug/cot-726-final
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonydummer committed Aug 20, 2024
2 parents ff6465d + c63daf8 commit ab5c6d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="location-picker-custom">
<div class="search-location">
<div>
<label id="input-selected-location-label" for="inputLocationSearch" *ngIf="locationTitle">{{locationTitle}}</label>
<label id="input-selected-location-label" *ngIf="locationTitle">{{locationTitle}}</label>
</div>
<exui-search-location class="search-location"
[form]="form"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</xuilib-gov-label>
<input class="govuk-input govuk-date-input__input govuk-input--width-2"
[ngClass]="{'govuk-input--error': errorMessage?.isInvalid}"
[id]="config.id+'-day'"
[id]="config.id"
[name]="config.id+'-day'" type="number" value="" pattern="[0-9]*"
[formControlName]="config.id+'_day'">
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ describe('GovUkDateComponent', () => {
});

it('should have input for day, month and year elements', () => {
const day = fixture.debugElement.query(By.css('#id-day'));
const day = fixture.debugElement.query(By.css('#id'));
expect(day).toBeTruthy();
const month = fixture.debugElement.query(By.css('#id-month'));
expect(month).toBeTruthy();
Expand Down

0 comments on commit ab5c6d7

Please sign in to comment.