Skip to content

Commit

Permalink
docs: Change datepicker range width (#3740)
Browse files Browse the repository at this point in the history
  • Loading branch information
JKMarkowski committed Nov 5, 2020
1 parent 4168573 commit 3b1d123
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { FdDate } from '@fundamental-ngx/core';
template: `
<div *ngIf="customForm">
<form [formGroup]="customForm">
<fd-date-picker type="range" formControlName="dates"></fd-date-picker>
<fd-date-picker type="range" formControlName="dates" style="width: 300px"></fd-date-picker>
</form>
Touched: {{ customForm.controls.dates.touched }}<br />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<form [formGroup]="customForm">
<fd-date-picker
type="range"
style="width: 300px"
formControlName="dates"
[state]="isValid() ? 'success' : 'error'"
[disableRangeEndFunction]="disabledEndFunction"
Expand Down

0 comments on commit 3b1d123

Please sign in to comment.