furcan/KioskBoard

Custom key with multiple characters

skullab opened this issue · 4 comments

if I create a key that inserts more characters, it is no longer possible to delete the input because the length of the input
exceeds the length of the aray where the characters are saved. I have created a fork to solve this problem.
https://github.com/skullab/KioskBoard

Hi @skullab ,

Thanks for the report.

Could you please share your init function(especially the keys) for reproducing the issue on my local? And also, I will review the PR as well.

Thanks,
Furkan.

keysArrayOfObjects = [
     // other object rows configurations...
     {
        "0":".com"
        // and so on...
     },
]

In this case, when I press the key, the ".com" value is entered correctly, but it is no longer possible to delete the input with the backspace key.

Hi @skullab

FYI => #32

Thanks.

Hi @skullab ,

KioskBoard v2.0.0 has been released. This issue has been fixed with this release. Also, this is a major release. Please take a look at the CHANGELOG before updating your current projects.

Thanks,
Furkan.