jquery.select2Buttons icon indicating copy to clipboard operation
jquery.select2Buttons copied to clipboard

idea : provide boolean to remove first choice

Open ibrent opened this issue 7 years ago • 1 comments

I had a scenario where I had to call your function on a select that was dynamically created. The first choice in the select was "Please choose an option".

I removed that option before calling your function with this: $("#size").find("option").eq(0).remove();

Here is my UI for clothing. Your code is fantastic. Thank you.

screen shot 2018-03-15 at 8 41 36 pm

ibrent avatar Mar 16 '18 03:03 ibrent

Cool control, i am also using it. In my case i ensured that the first option is empty : and then modified the js file to ensure the list items are added if there is a value in the option. see snippet below:

image

KhumaloM avatar Sep 06 '18 07:09 KhumaloM