Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

[Added] Vanilla JS Datepicker

Information about updates, news, Code Library
admin
Site Admin
Posts: 2778
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5

[Added] Vanilla JS Datepicker

Unread post by admin »

The Vanilla JS Datepicker has been included and can be activated with this switch:

Add in Setup -> Header:

Code: Select all

nuUXOptions['nuCalendarVanillaJS']	= true;		// Use Vanilla JS Datepicker
Setting it to true will replace the old calendar.

vanillajs_celendar.gif
vanillajs_celendar.gif (204.15 KiB) Viewed 364 times

Options

It's fully customisable (e.g. set min date, disable dates, show week numbers etc.)

https://mymth.github.io/vanillajs-datepicker/#/options

Live Online Demo


:arrow: More documentation will be added soon.
:arrow: To-do: language support.
Post Reply