inputEvents: {
keydown: function (e) {
if (e.keyCode === 9) {
e.preventDefault();
const val = this.value, start = this.selectionStart, end = this.selectionEnd;
this.value = val.substring(0, start) + '\t' + val.substring(end);
this.selectionStart = this.selectionEnd = start + 1;
}
}
}