Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

select: content from options doesn’t show up #31

Open
NV opened this issue Sep 6, 2013 · 5 comments
Open

select: content from options doesn’t show up #31

NV opened this issue Sep 6, 2013 · 5 comments
Assignees
Labels
Milestone

Comments

@NV
Copy link
Collaborator

NV commented Sep 6, 2013

test/select/select-test.html:

screen shot 2013-09-06 at 12 17 12 pm

Labels are empty.

@NV
Copy link
Collaborator Author

NV commented Sep 6, 2013

Did this ever work?

Seems like select.contentController (RangeController) never receives a content from the DOM. I don’t see any code that looks up for options on the select element or queries <options>.

@NV
Copy link
Collaborator Author

NV commented Sep 6, 2013

@francoisfrisch is it not working by design?

@aadsm
Copy link
Collaborator

aadsm commented Sep 6, 2013

Correct, in digit and matte we try to read the initial values from the DOM when it's possible but in this case the only value provided by the DOM is a string while the content of the select is an array of objects.

@NV
Copy link
Collaborator Author

NV commented Sep 6, 2013

Not sure what do you mean by that. selectElement.options is a collection of options, definitely not a string.

@aadsm
Copy link
Collaborator

aadsm commented Sep 6, 2013

I see what you mean, I didn't consider creating a clone of that object.

I have added a new topic of discussion for the next montage meeting about where we should draw the line of things we should do in the Abstract components. I think this is somewhat related to that, because reading defaults is part of the generic API.

@hthetiot hthetiot added this to the 3.1.x milestone Jun 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants