SIGN IN SIGN UP
bevyengine / bevy UNCLAIMED

A refreshingly simple data-driven game engine built in Rust

0 0 59 Rust

`multiple_text_inputs` example: Navigate to next input on submission (#24295)

# Objective

In the `multiple_text_inputs` example, the input focus should move to
the next text input after the user submits the input's contents.

## Solution

- In `submit_text`, after submission, use the `TabNavigation` system
param to find the next input, and set it as the `InputFocus`.
- Submit on just `Enter`. The `Ctrl` + `Enter` chord should be reserved
for inputs that allow new lines.
I
ickshonpe committed
10db67e4595d20d6537f771378551febbaccb4ad
Parent: 281062d
Committed by GitHub <noreply@github.com> on 5/21/2026, 9:26:17 AM