Closed myname1614 closed 4 years ago
in this line overriding config param:
$this->clientEvents['changeDate'] = "function (e){ jQuery('#$id').val(e.format());}";
fix to allow add handler for this case:
<?= DatePicker::widget([ 'inline' => true, 'clientEvents' => [ 'changeDate' => new \yii\web\JsExpression('function() {console.log("!!!")}'), ], ]) ?>
in this line overriding config param:
fix to allow add handler for this case: