Hi,

Here are some possible reasons:

1) getMultiSelectItems() returns empty list
2) you may need to disable CSP in your application (
https://nightlies.apache.org/wicket/guide/9.x/single.html#_content_security_policy_csp
)
3) disable COOP and/or COEP (
https://nightlies.apache.org/wicket/guide/9.x/single.html#_cross_origin_isolation_with_coop_and_coep
)

On Wed, Jun 22, 2022 at 12:34 PM Arunachalam Sibisakkaravarthi <
arunacha...@mcruncher.com> wrote:

> Hi guys,
> We are working to implement bootstrap-select from the Wicket Bootstrap
> Extensions project 5.x into  Wicket 9.x + Bootstrap 4.x application.
> But, the BootstrapMultiSelect shows an empty list without any options.
> I inspected the rendered html page, it seems everything is ok and has all
> the options .
>
> Java
> new BootstrapMultiSelect<String>("multiSelectItems",
> getMultiSelectItems());
>
> HTML
> <select class="form-control selectpicker" wicket:id="multiSelectItems"
> multiple="multiple"> </select>
>
> Could you help me to identify and fix the problem?
>
> Components used in our project:
>
>    1. Wicket 9.x
>    2. Wicket Bootstrap 5.x (Bootstrap 4.x)
>    3. JQuery 3.6.0
>
> Note: It works as expected in a simple Wicket quickstart project.
>
>  I couldn't find what went wrong in our app.
>
>
>
>
> *Thanks And RegardsSibi.ArunachalammCruncher*
>

Reply via email to