olton / Metro-UI-CSS

Impressive component library for expressive web development! Build responsive projects on the web with the first front-end component library in Metro Style. And now there are even more opportunities every day!
http://metroui.org.ua/
MIT License
7k stars 1.97k forks source link

Calendar Picker - add option to allow null/undefined values #1206

Closed atherosxd closed 5 years ago

atherosxd commented 5 years ago

add option to allow null/undefined values upon initialization, this is useful if the input is optional/nullable.

olton commented 5 years ago

Added in 4.2.23, You can use an empty value

            <input id="data1" name="data1"
                   data-role="calendarpicker"
                   data-format="%d/%m/%y"
                   data-input-format="%d/%m/%y"
                   value=""/>
olton commented 5 years ago

in 4.2.24