paper-elements icon indicating copy to clipboard operation
paper-elements copied to clipboard

Feature request: autocomplete/typeahead control.

Open grokys opened this issue 10 years ago • 25 comments

grokys avatar Jul 14 '15 11:07 grokys

Something like this would be great: https://material.angularjs.org/latest/#/demo/material.components.autocomplete with custom templates

xmakro avatar Jul 20 '15 20:07 xmakro

+1. A first-party autocomplete control that implemented Material Design would be fantastic for us.

RNCRyan avatar Jul 29 '15 17:07 RNCRyan

Any thoughts on this? I think of an autocomplete / typeahead control as a central component to any front-end framework...

RNCRyan avatar Aug 10 '15 14:08 RNCRyan

+1

eximius313 avatar Aug 10 '15 15:08 eximius313

+1

boloson avatar Aug 20 '15 10:08 boloson

+1

SayChunKim avatar Aug 22 '15 08:08 SayChunKim

+1

jwuliger avatar Sep 13 '15 11:09 jwuliger

been working on one of these actually... have a half way decent version... will chat with team to see if we want to extract my version :dancers:

samccone avatar Sep 16 '15 22:09 samccone

Awesome. I'd love to take a look if/when that happens.

RNCRyan avatar Sep 16 '15 22:09 RNCRyan

+1

duncanhunter avatar Sep 20 '15 14:09 duncanhunter

Hey folks. We totally appreciate the enthusiasm with the +1's. At this point it's clear this is a desired component so let's focus on comments in this issue being about how we can solve this (perhaps using @samccone's work) and less on the +1's :)

addyosmani avatar Sep 20 '15 17:09 addyosmani

👍😊 I'll put something up on GitHub this week for everyone 👌

samccone avatar Sep 20 '15 21:09 samccone

:sparkles: https://github.com/samccone/paper-typeahead :sparkles:

Here is just a quick initial hack, still plenty to do, but hopefully this opens the door for ideas / patches. I listed out a few improvements that I would like to do at the bottom of the readme!

samccone avatar Sep 21 '15 04:09 samccone

Thanks @samccone.

I'd like to make a few UI changes on this:

  1. I'd make the pick list hidden unless the typeahead element has focus,
  2. I'd like to make the pick list positioned above the background content (it shouldn't affect page layout in my opinion), and
  3. I'd like to add an option to handle more complex object types (adding support for a function which can generate a String label for a complex object OR, lacking that function, default to just toString-ing the data).
  4. Pick list selection should update the paper-input value.

I'll try to handle items 1, 3, and 4 as I have time and PR them back to @samccone's repo.

RNCRyan avatar Sep 21 '15 15:09 RNCRyan

👍 feel free to use my repo to file ^

samccone avatar Sep 21 '15 15:09 samccone

+1

tbragaf avatar Sep 28 '15 11:09 tbragaf

+1

(I know @addyosmani asked to stop the +1s but it seems like the only mechanism to indicate user interest in this issue AFAICT. I've seen people suggest subscribing to the issue instead but I don't think subscriptions to issues are publicized).

alecbz avatar Sep 30 '15 04:09 alecbz

Hey @alecbenzer I am working on a "hopefully soon to be official" version here https://github.com/samccone/paper-typeahead

:)

samccone avatar Sep 30 '15 04:09 samccone

+1

rodoneill avatar Oct 16 '15 06:10 rodoneill

What about https://github.com/cheonhyangzhang/paper-typeahead-input ? Only asking what to use. Will any see official inclusion?

the42 avatar Mar 26 '16 21:03 the42

Is there any way to map this to the google api? For example, Auto completion for locations?

marquavious avatar May 31 '16 20:05 marquavious

We have been using this one:

https://github.com/ellipticaljs/paper-autocomplete

I have been recently added as contributor and I would like to continue working on it. Any feedback is welcome

jhuesos avatar Oct 25 '16 13:10 jhuesos

+1

alex-barylski avatar Jan 09 '17 17:01 alex-barylski

https://github.com/samccone/paper-typeahead is under active development, if anyone has feature requests or wants to help, it is a good place to do it :)

samccone avatar Jan 09 '17 18:01 samccone

Y'all should use @samccone's element, it's really awesome!

Sam, you should add it to https://beta.webcomponents.org/!

notwaldorf avatar Jan 09 '17 19:01 notwaldorf