From 27d23633ead9f0ad318c5c3a53aca5eba4df75ff Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 8 Mar 2012 01:33:15 +0100 Subject: [PATCH] MINOR Disabled browser autocomplete for batch action select --- admin/code/LeftAndMain.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/code/LeftAndMain.php b/admin/code/LeftAndMain.php index 7e99d56e4..da6a73500 100644 --- a/admin/code/LeftAndMain.php +++ b/admin/code/LeftAndMain.php @@ -1099,11 +1099,11 @@ class LeftAndMain extends Controller implements PermissionProvider { 'BatchActionsForm', new FieldList( new HiddenField('csvIDs'), - new DropdownField( + Object::create('DropdownField', 'Action', false, $actionsMap - ) + )->setAttribute('autocomplete', 'off') ), new FieldList( // TODO i18n