CreativeIT / getmdl-select

Select for material-design-lite
http://creativeit.github.io/getmdl-select/
MIT License
301 stars 87 forks source link

pre-selected value #89

Open Karamellwuerfel opened 6 years ago

Karamellwuerfel commented 6 years ago

Hey, you wrote

To set pre-selected value add data-selected="true" attribute to corresponding li in your list.

That doesn't work for me... any ideas? It shows the textfield empty with no text in it. 2018-09-12 17_18_03-wg18 dashboard

2018-09-12 17_19_08-wg18-dashboard c__users_phil_phpstormprojects_wg18-dashboard - _profile php

jkaan commented 5 years ago

@Karamellwuerfel Can you show me an example of how you're loading in the scripts in your head?

You should also check your logs to see if something's wrong.

For me the problem was fixed by doing what I talked about in this PR: #94.