Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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
 
PREVIOUS NEXT
Tagged: #odoo #popup #input #keyboard
ADD COMMENT
Topic
Name
3+6 =