pass editable option to datepicker