OO.ui.SearchInputWidget.prototype.onIndicatorKeyDown = function ( e ) {
    if ( e.keyCode === OO.ui.Keys.ENTER ) {
        // Clear the text field
        this.setValue( '' );
        this.focus();