bootstrap-multiselect icon indicating copy to clipboard operation
bootstrap-multiselect copied to clipboard

Creating an option that does not have a checkbox and acts as a link?

Open mattloniero opened this issue 11 years ago • 2 comments

I'm creating a multiselect dropdown that has multiple options for topics of a post, but want to add an option to add a new topic that would act as a link to another page rather than as a checkbox.

mattloniero avatar Nov 17 '15 17:11 mattloniero

Will try to add a simple example to the docs and see how to solve this.

davidstutz avatar Apr 17 '16 11:04 davidstutz

I have used the onChange option for that:

    onChange: function(option, checked, select) {
        location.href = '/?p=' + option[0].value;
    },

mroeling avatar Jul 21 '16 09:07 mroeling