Base solution for your next web application
Open Closed

Bootstrap-select in new release do not work. #2496


User avatar
0
cangunaydin created

Hello, I have migrated my project to the new version. But there is a problem with the bootstrap-select ddls. You can not select anything when they are on. I have tried it without doing any modifications to the project it is also the same in the brand new downloaded project. To see the problem.

1- run the project. 2- go to the roles from the administration section. 3- try to filter it by permissions from the combobox.


6 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Thank you for your detailed explantaion, I have created an issue for this bug here <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/66">https://github.com/aspnetzero/aspnet-ze ... /issues/66</a>. We will fix it soon.

    Thanks again.

  • User Avatar
    0
    cangunaydin created

    I think i have found out what the problem is. Data is called async on ngOnInıt function and when the data arrived selectpicker has already called the refresh method. So maybe resolver can be used or for quick workaround setTimeOut will work i guess. But i didn't try it yet.

  • User Avatar
    0
    cangunaydin created

    Ok i have tried it and it does not work. Not related with the data or when you call the selectpicker methods. Sth is wrong with bootstrap-select and i couldn't figure it out why. Probably when i click one of the options it selects the first option all the time. Maybe some css is overriding it.

  • User Avatar
    0
    cangunaydin created

    any improvements about this bug? when do you think it can be fixed?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Sorry for the delat, it is resolved now. You can check the issue for solution, it is a small change.

    Thanks.

  • User Avatar
    0
    cangunaydin created

    OK thank you for the help i fixed it now.