I'm following the tutorial / example given (see but when trying to prevent users from selecting dates earlier than today or greater than 3 months from today doesn't seem to be working correctly as these are still clickable. I've written the ng-model, min-date & max-date values to the interface to make sure these are not null) What version of Angular Bootstrap are you using? @brandonjp: Maybe this isn't in the datepicker documentation, because this isn't a datepicker specific validator but a "normal" angular validaor.
I noticed I had to upgrade to 0.11.0 to get min and max date to work.
You can replace the library by setting a custom Date Formatter.
true - automatically generates a mask on the field 'format', Digit from 0 to 9, set the highest possible digit for the value.
Use this to update multiple options on the component.
I don't sure but maybe it is due to a cutom validation code. It's a kind of internal "translator" for UI components.First of all you should specify a locale or a set of needed locales (en-US, fr-FR, ru-RU) and then apply them to the calendar. Disabled dates To disable a certain period in the calendar, which presupposes specific CSS and blocking of click events, you can go by the two ways: Defining "active" period Use the dedicated min Date and max Date properties to limit the period that will be available for clicking and, hence, selecting: The dates can be defined either as date object or date string formatted under the current locale.Lets create calendar where user can choose time between am and pm on working days and on Saturday and Sunday between from am to pm. Possible values are from 0 to 6, where 0 - Sunday and 6 - Saturday.By default value is taken from current localization, but if it passed here then it will have higher priority.For setting hours you must use values between 0 and 23, event if 12 hours mode is on.