Ajax-Bootstrap-Select icon indicating copy to clipboard operation
Ajax-Bootstrap-Select copied to clipboard

Trigger options when initialization

Open rosaricla opened this issue 4 years ago • 1 comments

Hi,

I am sending my currently selected items along with my request throught the server. The problem here is that after refresh the page, the current selected option are not loaded unless I start to write in the search boxes.

It is any way to initializate the loading of the options when the page is loaded and not when the search event start? So build the list of options even when there is no search.

Now the event to bind on the search input element to fire a request is keyup, but I want to bind on the search input element when the page is loaded.

I have tried with the option: bindEvent: "change click keyup". But it is still not working

Thank you

rosaricla avatar Jun 22 '20 13:06 rosaricla

Hi, Did you find any solution? I'm trying to solve same problem.

Thank you

benes-jakub avatar Jan 27 '21 14:01 benes-jakub