diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php index 885b239d2c..3cdecc12c1 100644 --- a/pandora_console/include/functions_html.php +++ b/pandora_console/include/functions_html.php @@ -994,6 +994,12 @@ function html_print_select( }'; } + // Hack for not autocomplete never select2 browser. + $output .= '$(document).on("focus", ":input", function(){ + $(this).attr("autocomplete", "new-password"); + });'; + $output .= '$("input.select2-input").attr("autocomplete", "new-password");'; + $output .= ''; }