Merge pull request #7917 from andrewpbrett/fix-chrome-autocomplete

Use `autocomplete: off` on bulk product page form
This commit is contained in:
Matt-Yorkley
2021-07-13 13:22:15 +02:00
committed by GitHub

View File

@@ -1,5 +1,5 @@
%div.sixteen.columns.alpha{ 'ng-hide' => 'RequestMonitor.loading || products.length == 0' }
%form{ name: 'bulk_product_form' }
%form{ name: 'bulk_product_form', autocomplete: "off" }
%save-bar{ dirty: "bulk_product_form.$dirty", persist: "false" }
%input.red{ type: "button", value: t(:save_changes), ng: { click: "submitProducts()", disabled: "!bulk_product_form.$dirty" } }
%input{ type: "button", value: t(:close), 'ng-click' => "cancel('#{admin_products_path}')" }