Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

MDCSelect object doesn't accept select element as root #1025

Closed
teoxoy opened this issue Jul 27, 2017 · 1 comment
Closed

MDCSelect object doesn't accept select element as root #1025

teoxoy opened this issue Jul 27, 2017 · 1 comment

Comments

@teoxoy
Copy link

teoxoy commented Jul 27, 2017

At the end of the README file for the select package there is an example of how you can switch between selects for better cross-device UX. In the example the select element is being attached to an MDCSelect obj, that would not work because the initialize function tries to create a menu with a non existent root element.
Possible fixes: Update README to show a working example or allow and implement select element as root for MDCSelect

@kfranqueiro
Copy link
Contributor

Sorry for being late to reply to this. We've made updates to MDC Select's DOM structure more recently and updated the README accordingly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants