Any help would be appreciated I tried the below code for x-editable version 1.5.0 the other options like: 'weekStart' works but options like 'setDate', 'defaultViewDate' doesn't work is something wrong with my code? My Code:
<a href="#" id="dob" data-type="date" data-pk="1" data-title="Select date">15/05/1984</a>
<script type="text/javascript>
$('#dob').editable({
format: 'yyyy-mm-dd',
viewformat: 'dd/mm/yyyy',
datepicker: {
weekStart: 1,
defaultViewDate: {
year: 2012,
month: 11,
day: 11
}
}
});
</script>