InputElement.InsertRequest property
Opt-in: insert text AT THE CARET on demand (an emoji/insert picker). The framework polls the returned pair; whenever Seq CHANGES (the first value observed when the window is built never counts), Text is inserted where the caret was when the field last had focus — replacing the selection if there was one, and never inside a RichEmoji<sprite=N> tag — then the field takes focus with the caret right AFTER the inserted text. No known caret (never focused, or the text was replaced from Get since) = append at the end. OnChange then reports the new text, exactly like a typed edit, so the bound value follows; no separate FocusRequest is needed. Default null = unchanged. Init property (NOT a ctor param) for binary compatibility.
public Func<(int Seq, string Text)>? InsertRequest { get; set; }See Also
Section titled “See Also”- record InputElement
- namespace Stellar.Abstractions.Services