vitalets/combodate

How can i set default value?

Opened this issue · 3 comments

How can i set default value?

there is an option called "value" set it with the specified "format"

i.e:

$('element').combodate({        
    value: moment().format('DD-MM-YYYY')
});

how can i dynamically initialise the value.I am using jquery but $.val() doesnt worl with this