E
E
EVOSandru62015-10-30 07:05:47
Yii
EVOSandru6, 2015-10-30 07:05:47

Is it possible in yii1 EJuiDateTimePicker to make past dates inactive for selection?

Good afternoon, I did not find anything similar
in the documentation: www.yiiframework.com/extension/ejuidatetimepicker , maybe someone came across?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
matperez, 2015-10-30
@EVOSandru6

Try adding the 'minDate' => 0 option.
In general, all such extensions work the same way. There is some parameter for the widget, the content of which is serialized to json and passed in this form to the jQuery plugin. So if a setting is available on trentrichardson.com/examples/timepicker or the original jQuery UI Datepicker, it's likely to be usable.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question