Skip to content

Commit 1cc4852

Browse files
committed
fix: slider
1 parent 8e88737 commit 1cc4852

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

frontend/src/angular/src/app/maps/company-site/company-site.component.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@
1515
</mat-form-field>
1616
</div>
1717
<div>
18-
<mat-slider class="my-slider" thumbLabel [displayWith]="formatLabel" step="10"
19-
min="1970" max="2020" formControlName="{{SLIDER_YEAR}}"><input matSliderThumb />
18+
<mat-slider class="my-slider" showTickMarks discrete [displayWith]="formatLabel" step="10"
19+
min="1970" max="2020">
20+
<input matSliderThumb formControlName="{{SLIDER_YEAR}}"/>
2021
</mat-slider>
2122
<span class="my-year" i18n="@@companysite.slideryear">
2223
Year: {{ componentForm.get('sliderYear').value }}</span>

0 commit comments

Comments
 (0)