YII2 Gridview how to add jui datepicker in filter

[
    'attribute' => 'slot_date',
    'value' => 'slot_date',
    'filter' => yiijuiDatePicker::widget([
            'language' => 'en',
            'dateFormat' => 'yyyy-MM-dd',
            'model' => $searchModel,
            'attribute' => 'slot_date',
] ),
    'format' => 'html',
],

1 comment

Leave a comment

Your email address will not be published. Required fields are marked *