hi,
in the extension Timepicker, phpmaker afford us to enter “timeformat”, “steps” and “options”.
i tried the options by entering {‘minTime’: ‘8:00am’,‘maxTime’: ‘9:00pm’} to have a range from 8am to 9pm.
once i generated the project, phpmaker does not take care of thos range.
so i looked up the html code and see it forget to “generated” the options attribut (only timeformat and step are put) :
example of the rendered html :
loadjs.ready([“fedtadd”, “timepicker”], function() {
ew.createTimePicker(“fedtadd”, “x_edt_heure_debut”, {“timeFormat”:“H” + ew.TIME_SEPARATOR + “i”,“step”:15});
so whatever we put into “options” field in phpmaker, it is ignored by the generator
should add the options pattern too:
loadjs.ready([“fedtadd”, “timepicker”], function() {
ew.createTimePicker(“fedtadd”, “x_edt_heure_debut”, {“timeFormat”:“H” + ew.TIME_SEPARATOR + “i”,“step”:15,‘minTime’: ‘8:00am’,‘maxTime’: ‘9:00pm’);