PHP code example of heimrichhannot / contao-autocompletejs-bundle
1. Go to this page and download the library: Download heimrichhannot/contao-autocompletejs-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
heimrichhannot / contao-autocompletejs-bundle example snippets
'fieldName' => [
'eval' = [
'autocompletejs' => [
'active' => true,
'options' => []
]
]
]
'fieldName' => [
'eval' = [
'autocompletejs' => [
'active' => true,
'options' => [
'data' => [
'url' => 'https://example.org/users/{query}',
'keys' => ['name', 'city'],
]
]
]
]
]