We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following properly displayed a keyboard with a colon as the first button on the fourth row:
// keyboard row.find("input").keyboard({ layout: 'custom', maxLength : 8, restrictInput : true, useCombos : false, position : { of : null, my : 'left top', at : 'left top', at2: 'left top' }, customLayout: { 'default' : [ '7 8 9 {bksp}', '4 5 6 {a}', '1 2 3 {c}', ': 0 00'] } })
However, clicking the colon button, pasting text with a colon, or typing in a colon was not allowed. To work around the problem, I had to change this:
// regular button (not an action key) base.acceptedKeys.push(keys[key].split(':')[0]); base.addKey(keys[key], keys[key], true);
...to this:
// regular button (not an action key) if (keys[key] == ':') { base.acceptedKeys.push(':'); } else { base.acceptedKeys.push(keys[key].split(':')[0]); } base.addKey(keys[key], keys[key], true);
The text was updated successfully, but these errors were encountered:
Hi @brenzosa!
Sorry for taking so long to respond, but thanks for reporting this issue! I'll have it fixed in the next update.
Sorry, something went wrong.
045ec84
No branches or pull requests
The following properly displayed a keyboard with a colon as the first button on the fourth row:
However, clicking the colon button, pasting text with a colon, or typing in a colon was not allowed. To work around the problem, I had to change this:
...to this:
The text was updated successfully, but these errors were encountered: