Answer the question
In order to leave comments, you need to log in
How to disable styles in Yii2 config file for DatePicker?
Colleagues, this is the situation:
In (Yii2) ActiveForm I use the Jui DatePicker widget:
<label class="field">
<span class="field__el">
<?=
$form->field($model, 'birth_date')->widget(
DatePicker::className(),
[
'language' => 'ru',
'clientOptions' => [
'dateFormat' => 'yy-mm-dd'
]
]
) ?>
</span>
</label>
Answer the question
In order to leave comments, you need to log in
I see two styles: one is standard jui, the second is apparently some kind of custom. If you need to disable the first one, then it is connected using this bundle https://github.com/yiisoft/yii2/blob/master/extens...
if the second one, then apparently you created it yourself.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question