Hi all,
I want to change the maximum year of datepicker to 2199. As I see AwareIM just support until 2099, is it possible to change it?
Thanks.
Is it possible to change the max year of datepicker?
Is it possible to change the max year of datepicker?
Regards,
Suwandy
-----------------
Kisaran - Indonesia
Suwandy
-----------------
Kisaran - Indonesia
-
- Posts: 619
- Joined: Wed Jun 17, 2015 11:16 pm
- Location: Omaha, Nebraska
- Contact:
Re: Is it possible to change the max year of datepicker?
Try this attribute init script
config.config.max(new Date(2199, 11, 31));
This should allow selection of dates up to 12/31/2199
config.config.max(new Date(2199, 11, 31));
This should allow selection of dates up to 12/31/2199
VocalDay Solutions - Agility - Predictability - Quality
We specialize in enabling business through the innovative use of technology.
AwareIM app with beautiful UI/UX - https://screencast-o-matic.com/watch/crfUrrVeB3t
We specialize in enabling business through the innovative use of technology.
AwareIM app with beautiful UI/UX - https://screencast-o-matic.com/watch/crfUrrVeB3t
Re: Is it possible to change the max year of datepicker?
Thanks John,will try it soon when back to in front of my PC.
Regards,
Suwandy
-----------------
Kisaran - Indonesia
Suwandy
-----------------
Kisaran - Indonesia
Re: Is it possible to change the max year of datepicker?
Hi John, I have input it into Script of the date attribute but unfortunately it is not works.johntalbott wrote:config.config.max(new Date(2199, 11, 31));
Still stuck on 31 Dec 2099.
Any suggestion?
Thanks
Regards,
Suwandy
-----------------
Kisaran - Indonesia
Suwandy
-----------------
Kisaran - Indonesia
-
- Posts: 619
- Joined: Wed Jun 17, 2015 11:16 pm
- Location: Omaha, Nebraska
- Contact:
Re: Is it possible to change the max year of datepicker?
Oops ... it should be ...
config.config.max = new Date(2199, 11, 31);
config.config.max = new Date(2199, 11, 31);
VocalDay Solutions - Agility - Predictability - Quality
We specialize in enabling business through the innovative use of technology.
AwareIM app with beautiful UI/UX - https://screencast-o-matic.com/watch/crfUrrVeB3t
We specialize in enabling business through the innovative use of technology.
AwareIM app with beautiful UI/UX - https://screencast-o-matic.com/watch/crfUrrVeB3t
Is it possible to change the max year of datepicker [SOLVED]
Hi John,
it works now. Many thanks for you.
it works now. Many thanks for you.
Regards,
Suwandy
-----------------
Kisaran - Indonesia
Suwandy
-----------------
Kisaran - Indonesia