Yii2 DatePicker Validation Problem


I have a problem with DatePicker Bootstrap Validation,

It doesnt change the input value, so the label and input not changing to green color after selecting the date.

I think its changing the value in other js variable…

so how can i fix it?

                        <?= $form->field($userProfile, 'birthday')->widget(

                            DatePicker::classname(), [

                            'language' => 'tr',

                            'inline' => false,

                            'dateFormat' => 'dd.MM.yyyy',


                            'clientOptions' => [

                                'autoClose' => true,

                                'changeMonth' => true,

                                'changeYear' => true,

                                'yearRange' => 'c-60:c+60',


                        ]) ?>