Skip to content

Commit ee66490

Browse files
committed
chore(drp-dev-sample): bind hideHeader properly
1 parent 3155f94 commit ee66490

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/app/date-range/date-range.sample.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ <h6>Angular Date Range Picker, two inputs, template-driven form</h6>
1212
[maxValue]="properties.maxValue"
1313
[disabledDates]="disabledDates"
1414
[specialDates]="specialDates"
15-
[hasHeader]="properties.hasHeader"
15+
[hideHeader]="properties.hideHeader"
1616
[orientation]="properties.orientation"
1717
[headerOrientation]="properties.headerOrientation"
1818
[displayMonthsCount]="properties.visibleMonths"
@@ -82,7 +82,7 @@ <h6>WC Date Range Picker, two inputs</h6>
8282
[max]="properties.maxValue"
8383
[disabledDates]="disabledDates"
8484
[specialDates]="specialDates"
85-
[hasHeader]="properties.hasHeader"
85+
[hideHeader]="properties.hideHeader"
8686
[orientation]="properties.orientation"
8787
[headerOrientation]="properties.headerOrientation"
8888
[visibleMonths]="properties.visibleMonths"

src/app/date-range/date-range.sample.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,11 @@ export class DateRangeSampleComponent {
162162
type: 'text'
163163
}
164164
},
165-
hasHeader: {
166-
label: 'Has Header (for dialog mode)',
165+
hideHeader: {
166+
label: 'Hide Header (for dialog mode)',
167167
control: {
168168
type: 'boolean',
169-
defaultValue: true
169+
defaultValue: false
170170
}
171171
},
172172
orientation: {

0 commit comments

Comments
 (0)