Answers for "odoo popup input not taking keyboard value"

3

odoo popup input not taking keyboard value

this.keyboard_handler = function(event){
var key = '';
            if (event.type === "keypress") {
                if($(".your popup div class").not('.oe_hidden').length){
                    return;
                }

              rest of code......
};

and 

this.keyboard_keydown_handler = function(event){
            if($(".your popup div class").not('.oe_hidden').length){
                return;
            }
     rest of code......
};

Thanks
Posted by: Guest on February-28-2022

Code answers related to "Javascript"

Browse Popular Code Answers by Language