You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There didn't seem to be an obvious way to set the value. Here's how I hacked it to work.
// Change the the selected value like this:// $("#mySelectList").dropkick("setValue", newValue);methods.setValue=function(newValue){var$select=$(this),list=$select.data('dropkick'),$dk=list.$dk,items=$dk.find('a');$(items).each(function(index,item){varvalue=$(item).attr("data-dk-dropdown-value");if(value==newValue){$current=$(item).parent();;_setCurrent($current,$dk);_updateFields($current,$dk,true);}});}
The text was updated successfully, but these errors were encountered:
There didn't seem to be an obvious way to set the value. Here's how I hacked it to work.
The text was updated successfully, but these errors were encountered: