How to limit dates in the date picker?