From 8b66cb7c8118aa3f572093fb035caddf6c12d482 Mon Sep 17 00:00:00 2001 From: Henriette Dinger Date: Fri, 23 Feb 2018 15:07:52 +0100 Subject: [PATCH] Add keydown event for boolean edit fields (#6192) [ci skip] --- .../wp-edit/field-types/wp-edit-boolean-field.directive.html | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/app/components/wp-edit/field-types/wp-edit-boolean-field.directive.html b/frontend/app/components/wp-edit/field-types/wp-edit-boolean-field.directive.html index ce40c7fcb6..8a87f816e1 100644 --- a/frontend/app/components/wp-edit/field-types/wp-edit-boolean-field.directive.html +++ b/frontend/app/components/wp-edit/field-types/wp-edit-boolean-field.directive.html @@ -6,5 +6,6 @@ ng-change="vm.handleUserSubmit()" ng-focus="vm.handleUserFocus()" ng-blur="vm.handleUserBlur()" + ng-keydown="vm.handleUserKeydown($event)" ng-disabled="vm.field.inFlight" ng-attr-id="{{vm.htmlId}}" />