Skip to content

Commit 471a558

Browse files
authored
Merge pull request #17 from juanrapoport/patch-1
Correct assignment of the md-min-date attribute
2 parents 68c07af + 30590fb commit 471a558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material-decorator.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
var minDate = args.form.minimum || false;
169169
var maxDate = args.form.maximum || false;
170170
if (minDate) {
171-
mdDatepickerFrag.setAttribute('md-max-date', minDate);
171+
mdDatepickerFrag.setAttribute('md-min-date', minDate);
172172
}
173173
if (maxDate) {
174174
mdDatepickerFrag.setAttribute('md-max-date', maxDate);

0 commit comments

Comments
 (0)