Change keyboard mode on an event

What do you want to achieve?

I want to change the keyboard mode to NUMBER when I click inside a specif textbox.

What have you tried so far?

I know how to set the keyboard target, but i didn’t find a way to change, on an event, not programatically, the mode, from TEXT LOWER to NUMBER, for example.

Screenshot or video


  • **SquareLine Studio version: 1.2.1
  • **Operating system: Win
  • **Target hardware: ESP32 RGB Display with GFX_Library

Really there is no event action for it now. I’ll discuss internally to add it.

As a workaround you can add a “Call function” action and in it switch layout manually. See Keyboard (lv_keyboard) — LVGL documentation

1 Like

IS there a way to do this? I need the same feature

Currently you can only do it in LVGL code, as mentioned above by @kisvegabor.