paper-typeahead-input icon indicating copy to clipboard operation
paper-typeahead-input copied to clipboard

Add <content></content> to allow content injection in paper-input

Open mobula opened this issue 7 years ago • 2 comments

A small change that allows injecting custom content. See for instance paper-tags-typeahead prototype created by combining paper-typeahead with PolymerEl/paper-tags.

mobula avatar Jul 26 '17 19:07 mobula

@mobula Can you explain what's the use case for this?

cheonhyangzhang avatar Jul 27 '17 15:07 cheonhyangzhang

My use case was to combine typeahead with a tags component such as paper-tags. you type and get suggestions as if you were using typeahead, but if you select the component, it becomes a tag. and so on.

<paper-typeahead-tags>
   <paper-typeahead-input>
      <paper-tags>...</paper-tags>
   </paper-typeahead-input>
</paper-typeahead-tags>

mobula avatar Jul 28 '17 13:07 mobula