Godot Version
Godot 4.4.1
Question
I have a Form made of a standard LineEdit (SectionName) and a SpinBox (Value).
How can I get a “Next” button on the virtual keyboard instead of Done when on the first field (LineEdit), then Done on the last field (SpinBox).
I first tried:
section_name.focus_next = NodePath("Inner/Options/Duration/Value")
Didn’t work.
Then, even with keeping “Done” on the keyboard, as a hack, I have tried:
func _on_section_name_text_submitted(new_text: String) -> void:
print("Submitted")
section_value.grab_focus()
func _on_section_name_focus_exited() -> void:
print("Exited")
section_value.grab_focus()
Which doesn’t work, when using the app on Android, Done closes the virtual keyboard and doesn’t give focus to the SpinBox field.
What am I doing wrong?