fabbricadigitale / paper-chip

A chip web component made with Polymer 2 following Material Design guidelines
http://webcomponents.org/element/fabbricadigitale/paper-chip
MIT License
31 stars 16 forks source link

Support the declarative inclusion of paper-chip elements within paper-chip-inputs #38

Open leodido opened 7 years ago

leodido commented 7 years ago

We should allow the user to input paper-chip elements.

We should distribute paper-chip elements within the internal dom-repeat element and sync the values property.

Furthermore I think we should restrict distribution to only paper-chip elements ..

leodido commented 6 years ago

Hey @fabbricadigitale/webcomponents please see commit f3de91e1d89c6be6f22a912e3591d513004976b0.

Can we discuss whether to close this issue or not ?

Sure there are other ideas to continue this implementation ...

alelb commented 6 years ago

@leodido this implementation seems work in static mode. If I add chip to the dom in runtime this doesn't work. Is it the expected behavior?

leogr commented 6 years ago

I think we need a test to define the expected behavior.

leodido commented 6 years ago

Now we have implementation and tests for it.

We should discuss and double-check the ability to insert chips declaratively at runtime.

cc @fabbricadigitale/webcomponents