diff --git a/docs-aspnet/html-helpers/scheduling/calendar/disabled-dates.md b/docs-aspnet/html-helpers/scheduling/calendar/disabled-dates.md index 7454b2393f3..5425138dee1 100644 --- a/docs-aspnet/html-helpers/scheduling/calendar/disabled-dates.md +++ b/docs-aspnet/html-helpers/scheduling/calendar/disabled-dates.md @@ -34,6 +34,17 @@ When you set an array, list the days that will be disabled by using the first le ``` {% endif %} +To apply a new filter or update an existing after initialisation use setOptions + +```HtmlHelper + +``` + ## Adding a Function When you add a function, determine its return value as `true` for the date that is disabled. diff --git a/docs/api/javascript/ui/datepicker.md b/docs/api/javascript/ui/datepicker.md index bb418a383f7..81fa88e7ea9 100644 --- a/docs/api/javascript/ui/datepicker.md +++ b/docs/api/javascript/ui/datepicker.md @@ -801,7 +801,7 @@ The following settings are available for the **start** value: ## Fields ### options `Object` -An object, which holds the options of the widget. The options object holds all available [DatPicker configuration fields](/api/javascript/ui/datepicker#configuration). +An object, which holds the options of the widget. The options object holds all available [DatePicker configuration fields](/api/javascript/ui/datepicker#configuration). #### Example - get options of the widget @@ -1017,7 +1017,7 @@ Opens the calendar. ### setOptions -Changes the initial DatePicker configuration by updating the options object. The options object holds all available [DatPicker configuration fields](/api/javascript/ui/datepicker#configuration). +Changes the initial DatePicker configuration by updating the options object. The options object holds all available [DatePicker configuration fields](/api/javascript/ui/datepicker#configuration). #### Parameters