Select2 search field focused

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10039439
    manugi
    Participant

    Hello,
    in the previous version of Select2 the focus was directly in the search field above the select. In the new 4.0.0 version I havo to manually click into the searchbox to focus it and start typing something.
    Is it possible to automatically focus the searchbox as it were in the previous versions of Porto Admin?

    Select2 without focus in the search box

    Thank you in advance and regards,
    Emanuele Giglio



    Template Version: 4.0.0
    #10039440
    Support
    Keymaster

    Hello, sorry about that problem, it looks like a problem with the latest jquery version, which is causing the focus problem, we hope they fix it in the next version, in the meanwhile you can use version: 3.5.1 and you will see the focus will work again:

    https://code.jquery.com/jquery-3.5.1.min.js

    Regards.


    #10039444
    manugi
    Participant

    Thank you so much! It works now.
    Emanuele


Viewing 3 posts - 1 through 3 (of 3 total)

This topic is marked as "RESOLVED" and can not rceive new replies.