mok-project icon indicating copy to clipboard operation
mok-project copied to clipboard

add option in keyboard for insert only number

Open parvizEmami opened this issue 6 years ago • 5 comments

https://www.jqueryscript.net/demo/Visual-Numerical-Keyboard-Easy-Numpad/

parvizEmami avatar Nov 29 '18 14:11 parvizEmami

con you do?

parvizEmami avatar Nov 29 '18 15:11 parvizEmami

languages.zip

parvizEmami avatar Dec 02 '18 08:12 parvizEmami

@parvizEmami thanks for bringing up this feature request! It's definitely something on my mind.

I think there are two separate requests though to handle here:

  1. A numerical-only keyboard. This is a great idea, but it certainly requires some further evaluation. For example, it needs to be determined when the keyboard would be shown as compared to the full keyboard. Most likely we could evaluate the input type and any filters applied to the field and determine which keyboard to show. But it would also probably be valuable to let users manually select to use the numerical keyboard when initializing the plugin.

  2. Your demo shows a floating keyboard. This is actually something I have scheduled but there are a lot of issues to work through here as well. Superficially, it seems very easy. However, when I start to evaluate a robust solution, things become more convoluted. If I were to forego the floating keyboard and just implement point one from above, some styling would need to be considered for the overlaid keyboard. It might look funny with such a small layout.

I will continue to work towards implementing this feature. Looking at your sample code, you also helped me identify an enhancement to allow users to show their selected language in non-Latin alphabets. I have opened issue #35 to track this.

srm985 avatar Dec 02 '18 15:12 srm985

NUM.zip

parvizEmami avatar Dec 10 '18 08:12 parvizEmami