-
Notifications
You must be signed in to change notification settings - Fork 113
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 #4
Comments
Hi, this is not a bug in ember-cli-materialize. |
For anyone working in ember-cli-materialize who finds this issue in the future here is how I solved the re-rendering of the select. Wrap it in a
Without the with it never updates. With it - it does. |
Thanks for the workaround @brendanoh |
But let's be honest @truenorth, this 'workaround' shouldn't be needed. No one is going to be able to pick this up and use it the 'ember way' without digging around for this fix. Regardless of just being a wrapper around Dogfalo/materialize I would expect this implementation to work from the get go. |
@brendanoh I still can't see the select in the page. I see it in the HTML output, but it's not appeared in the browser. |
Agree @brendanoh - the select component needs to be re-written |
HI Mike
Template When click on select box nothing is happening, I am only able to see Systems in input field and after clicking nothing is opening. Here http://mike.works/ember-cli-materialize/#/forms it is working fine. Could you please help me out how to get out form this problem. |
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
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.
I also filed this issue in the original MaterializeCSS repo.
The text was updated successfully, but these errors were encountered: