Hi,
I tried to disable the date range picker as that in the docs. Yet it seems it doesn't work. Can you reproduce this issue?
Regards,
Arvin
P.S. Information that might be useful
the latest Syncfusion using Tailwind/Tailwind Dark + Vue.js 3 + Electron
blur, focus, open, renderDayCell, dayHeaderFormat, enabled, endDate, max, maxDays, min, name, placeholder, ref, and startDate are the properties used
Hi Ponmani,
As requested, I have attached a modified demo. To run it, you can refer to the 5th note in this link.
I would like to provide you with some additional information. After some basic investigation, I have found that the property causing disabling the date range picker does not work properly in my demo is maxDays. You may refer to "src\components\SearchForm.vue:Line102". In the modified demo, I have already set "enabled" to false to demonstrate the issue better. As you can see, for Line 102, if maxDays is changed dynamically using a variable called "maxDateRangeSpan" which is a number, ":enabled = 'false'" does not work. However, if we delete "maxDateRangeSpan" but just keep "7 * 4", then it works as expected. In other words, it should be a constant, and I believe it should not be designed like this. No console error in this case.
Regards,
Arvin
|
:maxDays="max"
max = 7 * 4 * maxDateRangeSpan; |