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 input doesn’t work properly with ember-cli #446

Closed
PDXIII opened this issue Jan 12, 2015 · 8 comments
Closed

select input doesn’t work properly with ember-cli #446

PDXIII opened this issue Jan 12, 2015 · 8 comments

Comments

@PDXIII
Copy link

PDXIII commented Jan 12, 2015

Hello!
I don’t know why but it is somehow broken. When I submit a form with an select element, it always returns the default selection and if I add the browser-default class it converts it to the material select anyway.

When I disable the javascript-foo and change the css manually to the default, it works alright!

Maybe you can fix this, because I would like to use it so badly ;-)

System-Info:

OSX 10.9.5
Ember: 1.9.1
Ember Data: 1.0.0-beta.14.1
Handlebars: 2.0.0
jQuery: 2.1.3
Materialize: 0.93.1

@acburst
Copy link
Collaborator

acburst commented Jan 12, 2015

How are you initializing the plugin?

@PDXIII
Copy link
Author

PDXIII commented Jan 13, 2015

Please take a look at this gist.

As you can see, I have a route called contactform which handles the final submission or cancelation.
Inside contactform there is the component contactform-component which collects all the input data and sends this to the controller of contactform.

@PDXIII
Copy link
Author

PDXIII commented Jan 19, 2015

Filed this issue in the Ember-CLI-Materialize Repo, too.

@sgasser
Copy link

sgasser commented Jan 20, 2015

I think this is the same bug like #466 .
Updating the selected with javascript not works.

@carlosperate
Copy link

As #466 is closed, I though I should mention here #452, which is the currently open report for that issue.

@PDXIII
Copy link
Author

PDXIII commented Jan 27, 2015

Cool! Thank you!

@carlosperate
Copy link

@PDXIII just curious, are you still having this issue with the current master?

@PDXIII
Copy link
Author

PDXIII commented Apr 7, 2015

Haven’t tried it for quiet a while. But will let you know, when I updated my project.

@Dogfalo Dogfalo closed this as completed Feb 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants