docs: function () {
              if (this._cfg.disabled) {
                  this._state = "disabled";
              } else if (this._cfg.readOnly) {
                  this._state = "readOnly";
              } else {
                  var state;
                  if (this._cfg.mandatory) {
                      state = "mandatory";
                  } else {
                      state = "normal";
                  }
                  if (this._cfg.formatError || this._cfg.error) {
                      state += "Error";
                  }
                  if (this._hasFocus || this._keepFocus) {
                      state += "Focused";
                  }
                  this._state = state;
              }
          }