Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit f19b657

Browse files
deegwesleycho
authored andcommitted
docs(datepicker): fix demo input type
- Fixes input demo type and adds note on native datepickers Closes #5115 Closes #5239
1 parent 6221320 commit f19b657

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Diff for: src/datepicker/docs/demo.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ <h4>Popup</h4>
3131

3232
<div class="col-md-6">
3333
<p class="input-group">
34-
<input type="date" class="form-control" uib-datepicker-popup ng-model="dt" is-open="popup2.opened" min-date="minDate" max-date="maxDate" datepicker-options="dateOptions" date-disabled="disabled(date, mode)" ng-required="true" close-text="Close" />
34+
<input type="text" class="form-control" uib-datepicker-popup ng-model="dt" is-open="popup2.opened" min-date="minDate" max-date="maxDate" datepicker-options="dateOptions" date-disabled="disabled(date, mode)" ng-required="true" close-text="Close" />
3535
<span class="input-group-btn">
3636
<button type="button" class="btn btn-default" ng-click="open2()"><i class="glyphicon glyphicon-calendar"></i></button>
3737
</span>

Diff for: src/datepicker/docs/readme.md

+2
Original file line numberDiff line numberDiff line change
@@ -235,3 +235,5 @@ Depending on datepicker's current mode, the date may refer either to day, month
235235
**Notes**
236236

237237
If the date a user enters falls outside of the min-/max-date range, a `dateDisabled` validation error will show on the form.
238+
239+
If using this directive on input type date, a native browser datepicker could also appear.

0 commit comments

Comments
 (0)