Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tractorcow/silverstripe-autocomplete
Autocomplete text field for Silverstripe
https://github.com/tractorcow/silverstripe-autocomplete
Last synced: 1 day ago
JSON representation
Autocomplete text field for Silverstripe
- Host: GitHub
- URL: https://github.com/tractorcow/silverstripe-autocomplete
- Owner: tractorcow
- Created: 2012-09-06T02:27:54.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2024-04-21T10:25:05.000Z (9 months ago)
- Last Synced: 2024-12-31T05:13:16.204Z (8 days ago)
- Language: PHP
- Size: 59.6 KB
- Stars: 36
- Watchers: 3
- Forks: 31
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
silverstripe-autocomplete
=========================Autocomplete text field for Silverstripe
usage
=====A field can be created as follows...
```php
\TractorCow\AutoComplete\AutoCompleteField::create('MyTextField','My Text Field', '','LookupDataObject','LookupFieldName')
```
where it will accept values from the following dataobject field...```php
class LookupDataObject extends DataObject {
static $db = array(
'LookupFieldName' => 'Varchar',
);
}
```