mootools-datepicker icon indicating copy to clipboard operation
mootools-datepicker copied to clipboard

disabling monthpicker, or if not possible: the whole tilte link

Open olivdee opened this issue 12 years ago • 4 comments

it is possible to disable the yearPicker, why not also the monthPicker ??? maybe i am missing something out...

if this is really not possible, then it might be possible to disable the onClick event on id starting with "pickertitle-", or on the class "titleText" ?

someting like: $(document.body).getElements(input[id^='pickertitle-']).removeEvents();

olivdee avatar Jan 18 '13 11:01 olivdee

anybody???

friendly bump

olivdee avatar Feb 06 '13 09:02 olivdee

is this here somehow dead? if yes, an info would be great, so i could try and find another solution... friendly bump

olivdee avatar Feb 21 '13 13:02 olivdee

I suggest you read the documentation. Particularly the part "pickOnly: (string, defaults to false) If you just want to pick a year, month, day or time. The options are time, days, months and years"

IberoMedia avatar Feb 21 '13 21:02 IberoMedia

thanks for the reply. i stumbled upon pickonly, but as i understood this, it allows you to pick to choose only one of the list... but i need to be able to pick "date" as well as "time", but no "month" and "year". so far i am using yearPicker: false, timePicker: true, and if i add also pickonly: 'days', nothing changes. in the datepicker one can still click on the example: FEB 2013 and then choose a month or a year... so even yearPicker: false does not work here?

olivdee avatar Feb 25 '13 16:02 olivdee