mwg API
    Preparing search index...

    Variable onTextConst

    onText: Signal<string> = ...

    Fires for the text a key press produces, one call per character - the signal a free text field listens to. onAction carries named intent and onKey carries the physical key; neither carries event.key, so neither can type a name or a save-slot label. A listener returning true stops the text reaching anything else, the same convention the other input signals use, so a focused field can swallow it.