GUI: Refactor TextInput illegal symbols API

This commit is contained in:
Willy-JL
2024-10-29 22:08:52 +00:00
parent 4b8b27954b
commit 38471fdd75
6 changed files with 68 additions and 96 deletions

View File

@@ -135,7 +135,7 @@ static JsKbdContext* ctx_make(struct mjs* mjs, TextInput* input, mjs_val_t view_
.transformer_context = context,
},
};
text_input_add_illegal_symbols(input);
text_input_show_illegal_symbols(input, true); // Temporary until prop is available
text_input_set_result_callback(
input,
(TextInputCallback)input_callback,