tractorcow / silverstripe-autocomplete
Autocomplete text field for Silverstripe
Installs: 203 047
Dependents: 8
Suggesters: 0
Security: 0
Stars: 36
Watchers: 2
Forks: 30
Type:silverstripe-vendormodule
Requires
- silverstripe/framework: ^4@dev
README
Autocomplete text field for Silverstripe
usage
A field can be created as follows...
\TractorCow\AutoComplete\AutoCompleteField::create('MyTextField','My Text Field','',null,null,'LookupDataObject','LookupFieldName')
where it will accept values from the following dataobject field...
class LookupDataObject extends DataObject { static $db = array( 'LookupFieldName' => 'Varchar', ); }