is there a way to limit the date range that is displayed on the datepicker? Similar to what can be done with query ui datepicker. I'm trying to limit the range to only display a week out.

  • do you really need a datepicker then? If you're only ever needing the next seven days, then perhaps you could just populate a picklist like "Saturday 4/9", "Sunday 4/10", etc ? Apr 9, 2016 at 1:21

1 Answer 1


In Spring'16, the min and max attribute of ui:inputDate are not supported. The attributes exist but their access level is not GLOBAL:


Instead of using ui:inputDate, you can use <input type="date" min="yyyy-mm-dd" max="yyyy-mm-dd"> or ui:inputSelect.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .