2017 © Pedro Peláez
 

silverstripe-module silverstripe-autocomplete

Autocomplete field that can be used as a SilverStripe form field

image

benmanu/silverstripe-autocomplete

Autocomplete field that can be used as a SilverStripe form field

  • Wednesday, April 4, 2018
  • by benmanu
  • Repository
  • 4 Watchers
  • 0 Stars
  • 33 Installations
  • Vue
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 3 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

AutocompleteField

Overview

This is a basic autocomplete field that can be used as a SilverStripe form field which provides a suggestion list based on the current text that has been entered into the field., (*1)

It uses a custom component built in VueJS to handle the autocomplete. The custom component depends on the https://github.com/paliari/v-autocomplete npm module., (*2)

Installation

You can install this via:, (*3)

composer require benmanu/silverstripe-autocompletefield, (*4)

Javascript Development

This module has https://github.com/JeffreyWay/laravel-mix as an npm dependency which makes it easy to do future javascript development for the module., (*5)

To get everything setup you just need to run:, (*6)

yarn install, (*7)

Once all the npm packages have been installed you can start javascript development using either:, (*8)

yarn run dev: which will start a watch task that rebundles the src files when files in the javascript/src/ folder are updated., (*9)

yarn run prod: which you will want to run when finished to produce a production ready build of the javascript src files., (*10)

TODO

There are a bunch of enhancements that will eventually be added such as:, (*11)

  • Ability to suggest based on an AJAX response
  • Ability to customise more options such (e.g. min length of characters before suggesting) when creating the PHP field
  • Ability to pass in a DataList and have it automatically turn that into suggestion data

The Versions

04/04 2018

dev-master

9999999-dev http://github.com/benmanu/silverstripe-autocomplete

Autocomplete field that can be used as a SilverStripe form field

  Sources   Download

BSD-3-Clause

The Requires

 

by Ben Manu
by Tim Kung

form autocomplete silverstripe field

04/04 2018

3.3

3.3.0.0 http://github.com/benmanu/silverstripe-autocomplete

Autocomplete field that can be used as a SilverStripe form field

  Sources   Download

BSD-3-Clause

The Requires

 

by Ben Manu
by Tim Kung

form autocomplete silverstripe field

16/03 2018

3.2

3.2.0.0 http://github.com/benmanu/silverstripe-autocomplete

Autocomplete field that can be used as a SilverStripe form field

  Sources   Download

BSD-3-Clause

The Requires

 

by Ben Manu
by Tim Kung

form autocomplete silverstripe field

26/02 2018

3.1

3.1.0.0 http://github.com/benmanu/silverstripe-autocomplete

Autocomplete field that can be used as a SilverStripe form field

  Sources   Download

BSD-3-Clause

The Requires

 

by Ben Manu
by Tim Kung

form autocomplete silverstripe field

26/02 2018

3.1.1

3.1.1.0 http://github.com/benmanu/silverstripe-autocomplete

Autocomplete field that can be used as a SilverStripe form field

  Sources   Download

BSD-3-Clause

The Requires

 

by Ben Manu
by Tim Kung

form autocomplete silverstripe field

21/02 2018

3.1.x-dev

3.1.9999999.9999999-dev http://github.com/benmanu/silverstripe-autocomplete

Autocomplete field that can be used as a SilverStripe form field

  Sources   Download

BSD-3-Clause

The Requires

 

by Ben Manu
by Tim Kung

form autocomplete silverstripe field