restriction-card icon indicating copy to clipboard operation
restriction-card copied to clipboard

Pin as numeric keypad

Open criticallimit opened this issue 2 years ago โ€ข 10 comments

Iยดm using a wall mounted ipad for HA and protect some switches with restriction-card. Whenever I unlock a switch with a pin protection the normal keyboard appears because it expects text (I think). Would be very nice that only the numneric keypad would be opened for numbers input.

Can I change this? whenever a numeric pin is needed, the numeric keypad will open instead of the normal big keypad?

thanx

criticallimit avatar Oct 11 '21 09:10 criticallimit

I would also like this feature. I have two wall mounted Fire Tablet 10 running Fully Kiosk Browser, and at the moment, it's not very user friendly to always change to numerica keypads. I'm available for testing

flixlix avatar Jan 28 '22 15:01 flixlix

Isn't it possible to build a card that pops up instead of an input box? The card could have a keypad like: 7 8 9 4 5 6 1 2 3 0 Kinda like the lovelace alarm keypad...

user897943 avatar May 29 '22 00:05 user897943

@flixlix did you ever find a solution for your tablet?

johntdyer avatar Feb 10 '23 18:02 johntdyer

@iantrich any thoughts on where this stacks up on the roadmap for this project ? Wish I was capable with CSS otherwise I would give it a go myself...

johntdyer avatar Mar 03 '23 18:03 johntdyer

@iantrich also tried to buy you some coffees but link on this repo is broken...

johntdyer avatar Mar 03 '23 19:03 johntdyer

I would also be glad if it is possible to define a parameter like numeric and then I can input numbers directly instead of first switching to numbers

eric1905 avatar Mar 26 '23 22:03 eric1905

This feature is so needed !!

johntdyer avatar Jun 18 '23 01:06 johntdyer

Please, make it happen! ๐Ÿ™

vazquezjm avatar Sep 28 '23 21:09 vazquezjm

I agree. This would be awesome if it were available.

swampylee avatar Sep 29 '23 15:09 swampylee

This is not possible with a vanilla JS input dialog. Also no amount of CSS will fix this, unfortunately.

Meaning that iantrich would need to implement a third-party dialog, which could get messy very quick.

A workaround is to download GBoard on your wall tablet. GBoard usually stays in the last keyboard position, eg. if you typed numbers, it'll stay on the number pad even after closed. Or, just download a keyboard from the Play Store that defaults to numbers, or just have numbers. If you need to type something, you can always switch back to your full keyboard using the "Keyboard switcher" (natively on Android) by choosing another keyboard in the status bar.

Fusseldieb avatar Nov 08 '23 14:11 Fusseldieb