ngx-material-keyboard / core

Onscreen virtual keyboard for Angular ≥ 5 (https://angular.io/) using Angular Material (https://material.angular.io/).
https://ngx-material-keyboard.github.io/core/
98 stars 120 forks source link

Update keyboard-key.component.ts #51

Closed ydock1 closed 6 years ago

ydock1 commented 6 years ago

solved: "value.slice is not a function" <- (when the textbox is empty) Backspace not working

RANSoftRA commented 6 years ago

tried that fix - works for me.

RANSoftRA commented 6 years ago

sry - just figured out that this change only fixes the problem described in #49 - not when the input is prefilled with a number #50

RANSoftRA commented 6 years ago

just created a new PR #55 that includes your @ydock1 fixes and also casts the input value to string, so that #50 does not happen.

davidenke commented 6 years ago

Closing, since this seams to be part of #55.