You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The existing demo.html shows how to consume this element using a dom-element to define another custom element (such as demo-1) that also supplies the options.
Can you provide an example that just consumes the select is="select-with-options" and supplies 'options' via JS?
Also, are there any plans to upgrade this component to be compatible with Polymer 2.0's announcement of strongly discouraging the use of the 'is' attribute?
The text was updated successfully, but these errors were encountered:
If I understand your request for the demo correctly we are setting the options via javascript, inside the polymer object. If you wanted to dynamically update the list, say after an ajax call, you would just do something like this/
this.set('options', results);
Sorry for the delay. I don't have any current plans to roll a 2.0 version of this component. We aren't using 2.0 yet with any of our customers. It would be nice if someone else from the community who needs this for 2.0 forks this and makes the necessary changes. I don't have time right now to invest in learning what needs to be done.
The existing demo.html shows how to consume this element using a dom-element to define another custom element (such as demo-1) that also supplies the options.
Can you provide an example that just consumes the select is="select-with-options" and supplies 'options' via JS?
Also, are there any plans to upgrade this component to be compatible with Polymer 2.0's announcement of strongly discouraging the use of the 'is' attribute?
The text was updated successfully, but these errors were encountered: