mirror of
https://github.com/divkit/divkit.git
synced 2026-05-07 20:02:32 +00:00
support enter key properties
commit_hash:18cc19893f94eecefd996fb19d981c28d20ca417
This commit is contained in:
@@ -140,7 +140,20 @@
|
||||
{
|
||||
"type": "input_text",
|
||||
"text_variable": "my_single_text",
|
||||
"keyboard_type": "single_line_text"
|
||||
"keyboard_type": "single_line_text",
|
||||
"enter_key_type": "done",
|
||||
"enter_key_actions": [
|
||||
{
|
||||
"log_id": "clear focus",
|
||||
"typed": {
|
||||
"type": "clear_focus"
|
||||
}
|
||||
},
|
||||
{
|
||||
"log_id": "change_button_1_state",
|
||||
"url": "div-action://set_variable?name=my_single_text&value=Enter key tapped!"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "output_text",
|
||||
|
||||
Reference in New Issue
Block a user