SET @home = ST_GeomFromText('POINT(-118.2819136 34.0261177)');
SELECT place_name, ST_AsText(coordinates) as Coord,
ST_DISTANCE(@home, coordinates) AS dist
FROM geo
ORDER BY dist
LIMIT 3
Array ( [placeholder] => Начало работы [class] => datepicker-here [data-position] => right bottom [data-range] => true [data-multiple-dates-separator] => - [data-min-view] => months [data-view] => months [id] => datepicker-summary [data-date-format] => MM yyyy )
<?php
use yii\web\JsExpression;
use yii\helpers\Html;
$params = [
'placeholder' => $label,
// 'value' => $model->$field,
'class' => 'datepicker-here',
'data-position' => 'right bottom',
];
if ($paramsArr){
$params = array_merge($params,$paramsArr);
}
//echo '<pre>';
//print_r($params["id"]);
//exit();
echo $form->field($model, $field)->textInput($params)->label($label);
?>
datepicker-summary
использовал вот такой метод и все получилось ! спасибо)