rm / address
Component for fetching address
dev-master
2018-05-09 18:20 UTC
Requires
- nette/application: >=2.3.0
- nette/di: >=2.3
- nette/http: >=2.3.0
This package is auto-updated.
Last update: 2024-11-05 21:21:15 UTC
README
Configuration
config.neon
extensions:
address: RM\Address\DI\AddressExtension
address:
google:
country: sk
language: sk
config.local.neon
address:
google:
key: secretKeyFrom300gle
In component
$form['street']->setAttribute('data-source', $presenter->link(':Address:Address:address')); // $form['number']; // $form['city']; // $form['zip']; // $form['country']; // options are array of ['code' => 'Name of state', 'sk' => 'Slovakia']