You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello ! I am able to select multiple dates by click using "toggle" function but I don't know, how to show selected dates. For example: At the time of Initialize calendar, I want to select dates ["2018-09-01", "2018-09-06", "2018-09-12"]. Also open toggle option so user can select more random dates.
How can I disable all previous/past dates ?
The text was updated successfully, but these errors were encountered:
I found a solution... A function JS that receive an string dates separated by Comma (,). This simulate a click in every dates of your calendar and active them.
function click_on_dates(dates){
dates_array=dates.split(",");
calendar=".calendario_no_disponibles"; // Your calendar selector
for (var i = 0; i <= dates_array.length; i++) {
$(calendar + " [data-date='"+dates_array[i]+"']").click();
}
}
Hello ! I am able to select multiple dates by click using "toggle" function but I don't know, how to show selected dates. For example: At the time of Initialize calendar, I want to select dates ["2018-09-01", "2018-09-06", "2018-09-12"]. Also open toggle option so user can select more random dates.
How can I disable all previous/past dates ?
The text was updated successfully, but these errors were encountered: