question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Materialize + Framework not updating select value

See original GitHub issue

Model value is not updated when material_select() is applied to the <select>.

I’ve made a fiddle to show you what’s going on: http://jsfiddle.net/maxflex/j8xcm7d2/

There are also other people facing the same problem: one, two

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:42 (4 by maintainers)

github_iconTop GitHub Comments

8reactions
ferchoman09commented, Apr 27, 2016

For change the materializecss select I had to do that:

    $("#idSelect").val(newValue);
    $("#idSelect").material_select();
8reactions
MichaelDeBoeycommented, Feb 26, 2016

No problem @ferchoman09 😄 It’s defo a MaterializeCSS problem with the implementation of the select When using the browser-default class it all works fine so… 😟

Read more comments on GitHub >

github_iconTop Results From Across the Web

jQuery and Materialize not updating VueJS select value
What I have is in the snippet below. What I am looking to do is just have the select - or any select...
Read more >
Text Inputs - Materialize
Here is a CSS template for modifying input fields in CSS. With Sass, you can achieve this by just changing a variable. The...
Read more >
Forms - Materialize
Here is a CSS template for modifying input fields in CSS. With Sass, you can achieve this by just changing a variable. The...
Read more >
Materialize CSS Select - GeeksforGeeks
Materialize select provides disabled feature that has its own use. To make whole thing unselectable, add disabled attribute to the select ...
Read more >
Materialise Select Dropdown not Displaying - Treepl Forum
@Erik but those properties are meant to be hiding the default select element while the Materialize framework uses JS to create a new...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found