disable property
List
disable
Dates unavailable for selection.
There are multiple methods of doing so.
Disabling certain dates:
disable: ["2025-01-30", "2025-02-21", "2025-03-08"]
Disabling date ranges:
disable: [
{
from: "2025-04-01",
to: "2025-05-01"
},
{
from: "2025-09-01",
to: "2025-12-01"
}
]
Disabling dates by function:
disable: [
allowInterop(function(date) {
// return true to disable
}),
]
Default: []
Implementation
external List get disable;
Implementation
external set disable(List v);