makinacorpus / autocomplete-bundle

Autocomplete widget and form type for Symfony
2 stars 3 forks source link

Demo or more documentation #3

Open tacman opened 5 years ago

tacman commented 5 years ago

First, implement an MakinaCorpus\AutocompleteBundle\Autocomplete\AutocompleteSourceInterface class, that is meant to reflect the business objects in which to autocomplete.

Can you provide an example for this? Ideally, a demo repo we can clone and see how it works, and see how webpack encore is set up (new goodies with Symfony 4.2, for example).

pounard commented 5 years ago

Hum, it will take a bit more time than just writing some documentation. Actually, we use it on projects with select2 kept externally whereas the project uses webpack bundled assets (not encore) mostly, and webpack-encore being only a bundle, it's not really this bundle job's to document it.

tacman commented 5 years ago

Thanks. In the end, I was able to use https://github.com/tetranz/select2entity-bundle to solve my immediate problem.

On Wed, Nov 28, 2018 at 3:59 AM Pierre notifications@github.com wrote:

Hum, it will take a bit more time than just writing some documentation. Actually, we use it on projects with select2 kept externally whereas the project uses webpack bundled assets (not encore) mostly, and webpack-encore being only a bundle, it's not really this bundle job's to document it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/makinacorpus/autocomplete-bundle/issues/3#issuecomment-442370149, or mute the thread https://github.com/notifications/unsubscribe-auth/AAl0QSftuyd3j8tSXwT0bXUfj4SPpmNBks5uzlB2gaJpZM4YxpFC .