onKey(event: KeyboardEvent) {
console.log(event);
//189 - тире
if (event.keyCode != 189 && !String.fromCharCode(event.keyCode).replace(/[^0-9A-Za-zА-Яа-я]/gi, "")) return false;
//(<HTMLInputElement>event.target).value = (<HTMLInputElement>event.target).value.replace(/[^-A-Za-zА-Яа-я]/gi, "");
}