Author Topic: Should Keyboard navigation work when search: false?  (Read 2832 times)

dw3Peter

  • Newbie
  • *
  • Posts: 2
    • View Profile
Should Keyboard navigation work when search: false?
« on: December 02, 2016, 01:59:59 pm »
Hi,

I'm new to pqSelect.

I can't get keyboard navigation (up/down) to work when using search: false
Attached is image from the example on your site, I have added ", search: false"

This code on your own site will reproduce the problem (I have added ", search false") ...
//initialize the pqSelect widget.
$("#select0").pqSelect({
    singlePlaceholder: 'Select Country',   
    radio: true //adds radio buttons
/* the problem */ , search: false // Keyboard navigation not working   
}).on("change", function(evt){
    var val = $(this).val();
    $("#selected_option0")
        .text("Selected option: "+val);
}).pqSelect( 'open' );