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
Ionic version: (check one with "x")
[ ] 2.x
[ ] 3.x
[x ] 4.x
Ion2-calendar mode: (check one with "x")
[ ] components mode
[x ] modal mode
I'm submitting a ... (check one with "x")
[ ] bug report
[ ] feature request
[x ] help me
Current behavior:
I'm trying to disable some dates dynamically but it's not working, it is disabling dates only when we set disable dates at the time of variable initialisation.
-----------Following is Working----------------
options: CalendarModalOptions = {
daysConfig: [
{
date: new Date(2021, 3, 12),
disable: true,
},
{
date: new Date(2021, 3, 15),
disable: true,
}
]
};
-----------Not Working---------------
this.options.daysConfig = [{
date: new Date(2021, 3, 12),
disable: true,
}, {
date: new Date(2021, 3, 15),
disable: true,
}];
Expected behavior:
Steps to reproduce:
Related code:
insert short code snippets here
Other information:
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
insert the output from ionic info here
The text was updated successfully, but these errors were encountered:
Ionic version: (check one with "x")
[ ] 2.x
[ ] 3.x
[x ] 4.x
Ion2-calendar mode: (check one with "x")
[ ] components mode
[x ] modal mode
I'm submitting a ... (check one with "x")
[ ] bug report
[ ] feature request
[x ] help me
Current behavior:
I'm trying to disable some dates dynamically but it's not working, it is disabling dates only when we set disable dates at the time of variable initialisation.
-----------Following is Working----------------
options: CalendarModalOptions = {
daysConfig: [
{
date: new Date(2021, 3, 12),
disable: true,
},
{
date: new Date(2021, 3, 15),
disable: true,
}
]
};
-----------Not Working---------------
this.options.daysConfig = [{
date: new Date(2021, 3, 12),
disable: true,
}, {
date: new Date(2021, 3, 15),
disable: true,
}];
Expected behavior:
Steps to reproduce:
Related code:
Other information:
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):The text was updated successfully, but these errors were encountered: