Add non-public {Line,Text}Edit::_set_text()

- [Web] Fix "Enter" not triggering LineEdit submits.

Co-authored-by: Marwen Azouzi <marwen.azouzi@datadoghq.com>
This commit is contained in:
Adam Scott
2025-12-02 08:28:57 -05:00
committed by Rémi Verschelde
parent 7692a3d53b
commit 263589497b
15 changed files with 115 additions and 35 deletions

View File

@@ -796,7 +796,7 @@ void DisplayServerWeb::_vk_input_text_callback(const String &p_text, int p_curso
return;
}
// Call input_text
ds->input_text_callback.call(p_text);
ds->input_text_callback.call(p_text, true);
// Insert key right to reach position.
Input *input = Input::get_singleton();
Ref<InputEventKey> k;