[datepicker] Fix min/max date issue.

The fieldid selector was wrong, couldn't find the field and fell-back to
the default min/maxDate (1800-01-01, 2100-01-01)