Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ Issue ] Unable to select date if timePicker: false, #146

Open
gabriele86 opened this issue Jun 24, 2013 · 0 comments
Open

[ Issue ] Unable to select date if timePicker: false, #146

gabriele86 opened this issue Jun 24, 2013 · 0 comments

Comments

@gabriele86
Copy link

If i set the datePicker variable to false, the datePicker can get only current date, i'm not able to select different date, if i select different date, in the imput field i can see only current date value

Example Code
var datepicker = new DatePicker('.date', {
pickerClass: 'datepicker_dashboard',
days: ['Domenica', 'Lunedì', 'Martedì', 'Mercoledì', 'Giovedì', 'Venerdì', 'Sabato'],
months: ['Gennaio', 'Febbraio', 'Marzo', 'Aprile', 'Maggio', 'Giugno', 'Luglio', 'Agosto', 'Settembre', 'Ottobre', 'Novembre', 'Dicembre'],
timePicker: false,
format: 'd-m-Y',
inputOutputFormat: 'Y-m-d',
allowEmpty:true,
useFadeInOut:false,
positionOffset: {x:-30,y:0},
onSelect: function(d, input) { }
});
//datepicker.close();
datepicker.attach($$("#form_offerta_ .date"));

ION.initLabelHelpLinks('#form_offerta_<?= $offerta["id_offerta"] ?>');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant