src/aria/widgets/form/TextInput.js
function (idArray, fromSelf) {
            if (this._cfg.disabled) {
                return false;
            }
            var textInputField = this.getTextInputField();
            textInputField.focus();
            // IE FIX: requires the value to be reset for the cursor to be positioned
            // and focused at the end of the textinput.value string
            if (ariaCoreBrowser.isIE) {
              textInputField.value = textInputField.value;
            }

        }
function (idArray, fromSelf) {
            if (this._cfg.disabled) {
                return false;
            }
            var textInputField = this.getTextInputField();
            textInputField.focus();
            // IE FIX: requires the value to be reset for the cursor to be positioned
            // and focused at the end of the textinput.value string
            if (ariaCoreBrowser.isIE) {
              textInputField.value = textInputField.value;
            }

        }
function ( idArray , fromSelf ) { if ( this . _cfg . disabled ) { return false ; } var textInputField = this . getTextInputField ( ) ; textInputField . focus ( ) ; // IE FIX: requires the value to be reset for the cursor to be positioned // and focused at the end of the textinput.value string if ( ariaCoreBrowser . isIE ) { textInputField . value = textInputField . value ; } }
Focus this field
@param {Array} idArray Path of ids on which we should give focus. Should be empty
@param {Boolean} fromSelf Whether the focus is coming from the widget itself. In this case we don't try to
autoselect
@return {Boolean} true if focus was possible
@override
Focus this field