text($fieldName, $title, $default, $lang) ->classAdd(['j-geo-map-addr', 'flex-fill']) ->beforeFieldRender(function ($html, $field) use ($form, $height) { /** @var $field Input */ Geo::mapsAPI(); $id = $form->cssClass('geo-map-' . $field->id()); ?>
inputHidden($fieldLatName, '') ->classAdd('j-geo-map-lat') ->together($fieldName) ->inputHidden($fieldLonName, '') ->classAdd('j-geo-map-lon') ->together($fieldName) ->to($fieldName) ;}