docs: function () {
              this.$InputWithFrame._checkCfgConsistency.call(this);
  
              var cfg = this._cfg;
  
              if (cfg.autoselect == null) {
                  // the default value for autoselect comes from the environment
                  cfg.autoselect = ariaWidgetsEnvironmentWidgetSettings.getWidgetSettings().autoselect;
              }
  
              var value = cfg.value;
              if (cfg.invalidText) {
                  // Check the field depending on the value and the existing error
                  var rep = this.checkValue({
                      text : cfg.invalidText,
                      value : value,
                      performCheckOnly : true
                  });
                  if (!rep.isValid) {
                      if (cfg.directOnBlurValidation) {
                          this.changeProperty("error", true);
                      }
                      // Just to set the this._helpTextSet to true in this case,
                      // as the invalid text will be displayed:
                      value = cfg.invalidText;
                      this._helpTextSet = false;
                      if (rep.report) {
                          rep.report.$dispose();
                      }
                  } else {
                      // for autocomplete, no report is raised. Asynchronous
                      // callback will set proper state
                      if (rep.report) {
                          this.changeProperty("error", false);
                          if (rep.report.text == null || rep.report.text === "") {
                              if (cfg.prefill && cfg.prefill + "") {
                                  this._isPrefilled = true;
                              } else {
                                  this._helpTextSet = cfg.helptext;
                              }
                          }
                          rep.report.$dispose();
                      }
                  }
                  this._setState();
              } else {
                  // if the value is not set (namely it is null, undefined, an
                  // empty string or an empty array) and the
                  // prefill is defined
                  if ((ariaUtilsType.isArray(value) && ariaUtilsArray.isEmpty(value)) || (!value && value !== 0)) {
                      if (cfg.prefill && cfg.prefill + "") {
                          this._isPrefilled = true;
                      } else {
                          this._helpTextSet = cfg.helptext;
                      }
                  }
                  if (this._isPrefilled) {
                      this._setState();
                  }
              }
  
          }