1 modules.date
Florian Bouillon edited this page 2 months ago

Date Input

Example

<input type="date" name="date" data-default />
<!-- on start of form the value will be the current date -->

Explications

Date Input work like normal until you add a data-default element to it.
If data-default is set the default value of the element will be the current date.