milkyway-multimedia / ss-mwm-autocomplete

Autocomplete fields for Silverstripe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This package is no longer maintained

Please us milkyway-multimedia/ss-mwm-formfields instead: https://github.com/milkyway-multimedia/ss-mwm-formfields

Autocomplete Fields

Autocomplete Fields is a collection of fields specifically for autocompletion. Uses typeahead for normal completion, and select 2 for dropdown style autocompletion.

This is an alternative to some other modules that provide similar functionality (I actually didn't find the autocomplete one until later that probably would've suited my needs... Oops! Ah well, you now have a slightly harder option to use in this module...). Main difference, you can apply any option to these fields using data-attributes (similar to how the Twitter Bootstrap JS components work).

If you need a Select 2 Field that acts more similar to the in-built DropdownField, please use sheadawson/silverstripe-select2

For an alternative TypeaheadField please use betterbrief/silverstripe-autocompletefield

Install

Add the following to your composer.json file


    "require"          : {
		"milkyway-multimedia/ss-mwm-autocomplete": "dev-master"
	}

License

  • MIT

Version

  • Version 0.2 - Alpha

Contact

Milkyway Multimedia

About

Autocomplete fields for Silverstripe


Languages

Language:PHP 78.2%Language:JavaScript 19.7%Language:CSS 2.1%