vitalets / combodate

Dropdown date and time picker
http://vitalets.github.com/combodate
207 stars 82 forks source link

Optional parameters #40

Open mmalisz opened 9 years ago

mmalisz commented 9 years ago

Hello!

Is there a way to define optional parameters, i.e year is required and month is optional. Now, when I set template: 'YYYY MM', after entering year only, the input (output) will appear blank. I tried using regex, but no luck here.

rinoldsimon commented 6 years ago

any work around on this?