Browse Source

Merge branch 'develop'

develop
Guillaume 2 years ago
parent
commit
618e1167a3
2 changed files with 6 additions and 2 deletions
  1. +5
    -1
      Component/CitiesComponent.php
  2. +1
    -1
      Resources/assets/app/adminlte/main/scss/form/_checkboxradio.scss

+ 5
- 1
Component/CitiesComponent.php View File

@@ -85,7 +85,11 @@ class CitiesComponent

public function callAddressApi($query)
{
$provider = $this->getGeocoderProvider() ;;
if(is_null($query)) {
$query = '';
}

$provider = $this->getGeocoderProvider() ;
$query = GeocodeQuery::create($query)->withData('type', 'housenumber');
$results = $provider->geocodeQuery($query);
$resultsToReturn = array();

+ 1
- 1
Resources/assets/app/adminlte/main/scss/form/_checkboxradio.scss View File

@@ -5,7 +5,7 @@
}

.form-check-label {
display: block;
display: inline-block;
position: relative;
padding-left: 26px;
cursor: pointer;

Loading…
Cancel
Save