Hi,
Form Cuba sampler:
You can specify available dates to select by using rangeStart and rangeEnd attributes. If you set them, all the dates that are outside the range will be disabled.
<window xmlns="http://schemas.haulmont.com/cuba/window.xsd"
class="com.haulmont.cuba.gui.components.AbstractFrame">
<layout spacing="true">
<datePicker id="datePicker" rangeStart="2016-08-15" rangeEnd="2016-08-19"/>
</layout>
</window>
Why I am alowed to select 2016-08-14?
gorelov
(Gleb Gorelov)
October 30, 2018, 3:17pm
#2
Hi,
Unfortunately, we can’t reproduce the problem.
August 14, 2016 is disabled.
Regards,
Gleb
gorelov
(Gleb Gorelov)
October 30, 2018, 3:42pm
#4
I’ve tried exactly there, and I can’t reproduce. Could you please provide information about your timezone?
gorelov
(Gleb Gorelov)
October 31, 2018, 7:03am
#6
sorin.federiga:
UTC+2 Athens, Bucharest
Thank you, I will try to investigate the problem.
gorelov
(Gleb Gorelov)
November 1, 2018, 8:39am
#7
Thank you for reporting the problem, I’ve created a GitHub issue .
Regards,
Gleb
1 Like