vitalets/combodate

Optional parameters

Opened this issue · 1 comments

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.

any work around on this?