Trigger.io and custom keyboards

I use Trigger.io for the Android platform, and I'm curious if I can change the way input fields are entered.

I know that trigger.io has recently released its own ui update, but I need something like this.

<input type="number" name="age" /> // this should open a small numeric keyboard <textarea name="comment"></textarea> //this should open a custom keyboard with only keys I want on it 

Is it possible? Can this be done using native plugins? Or is it really hard for me to do something here?

+6
source share
1 answer

Installation type = "number" in the input field already leads to the display of a numeric keyboard instead of the default default on iOS and Android.

However, they will still be the default default keyboards. To configure them to contain only the necessary keys, you will have two options:

1) Create your own plugin to hide the default value and show your own custom keyboard: http://docs.trigger.io/en/v1.4/modules/native/index.html

You will also need to write JavaScript to determine when the input element of the type of interest to you is in focus and call the plugin method.

2) Create an HTML5 input keyboard in your own specification and show it when you select an input element. You can prevent the keyboard from displaying by default using the suggestions here: Prevent the keyboard from popping up in the focus / click text box on the iPad iPad

I would be interested to know more about usage where you need this level of customization. Users are familiar with the default input keyboard elements, so overall I would recommend sticking with them.

+4
source

All Articles