f (element.classList.contains(FIELD_TYPE_SET_STRING)) {
            return FIELD_TYPE_SET_STRING
        }
    }

    function setInputFilter(input, inputFilter) {
        ["input", "keydown", "keyup", "mousedown", "mouseup", "select", "contextmenu", "drop"].forEach(function(event) {
            input.addEventListener(event, function() {
                if (inputFilter.test(this.value)) {
                    this.oldValue = this.value;
                    this.oldSelectionStart = this.selectionStart;
      