jquery - How to set start date in 2amigos Datepicker in Yii2 -


i want set start date in 2amigos datepicker using jquery or whatever is.

my start date 1960-01-01.

and how display datepicker:

<?= $form->field($model, 'ecs_cheque_dd_date')->widget(datepicker::classname(), [     'inline' => false,      'clientoptions' => [         'autoclose' => true,         'format' => 'yyyy-m-dd',     ], ]) ?> 

<?= $form->field($model, 'ecs_cheque_dd_date')->widget(datepicker::classname(), [     'inline' => false,      'clientoptions' => [         'autoclose' => true,         'format' => 'yyyy-mm-dd',         'startdate' => date('1960-01-01'),     ], ]) ?> 

Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -