ParamQuery grid support forum

General Category => Help for ParamQuery Select => Topic started by: dw3Peter on December 02, 2016, 01:59:59 pm

Title: Should Keyboard navigation work when search: false?
Post by: dw3Peter 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' );