Not respecting pre-existing selection #15
Fix
|
Reopen, so this can be merged. |
May you send a PR please? |
Pushed. Please review. JS is not my strongest language. |
sdkcarlos
commented
Jun 18, 2015
+1 , with the fix of FezVrasta/dropdown.js#15 still without work |
line 292
is creating 1st li element with class "selected" can't find why. anyone? 1st is selected while 2nd should be selected here's |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Does not respect initial values. For instance I have a form which has a default selection (from a previous submission). This value is correct and present without the plugin. When I apply the plugin the selection is nulled and the .val() is incorrect.
It would be nice if the plugin respected preexisting values.
Here is my code.
After I apply .dropdown() the selection becomes the first (RoleState).