2016-11-09 10:07:08 0 评论 Yii 2.0 Boy.Lee

Yii 2.0 ActiveForm DatePicker 代码示例

    <?= $form->field($model, 'ausi_birthday')->widget(\yii\jui\DatePicker::classname(), [
        //'language' => 'ru',
        'dateFormat' => 'yyyy-MM-dd',
        'options'=>['class'=>'form-control'],
    ]) ?>