Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
naifalshaye authored Aug 28, 2018
1 parent 0c4e4d4 commit de59005
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,18 @@ Add the below to Nova/User.php resource:
```php

AddressAutocomplete::make('Address'),

//You can add a country or countries to autocomplete or leave empty for all.

// Specify a single country

AddressAutocomplete::make('Address')
->countries('SA'),

// Specify multiple countries

AddressAutocomplete::make('Address')
->countries(['SA','US']),
```

Add the below to nova/resources/views/layout.blade.php
Expand Down

0 comments on commit de59005

Please sign in to comment.