Help me please - get value datapicker and set value other textfield
this is my form
<div class="col-sm-2" style="width: 24%">
<?php echo $form->field($model, 'data_nasc')->widget(DateControl::classname(), [
'type'=>DateControl::FORMAT_DATE,
'displayFormat' => 'd/M/y',
'saveFormat' => 'y-M-d',
]); ?>
</div>
<div class="col-sm-2" style="width: 25%">
<?= $form->field($model, 'idade_crianca', [
'addon' => ['prepend' => ['content'=>'Idade da Criança']],
])->textInput(['readonly' => true]);
?>
</div>