string MaxLengthFilter(ElmSharp.Entry entry, string s) { if (entry.Text.Length < Element.MaxLength) { return(s); } return(null); }
protected override EEntry CreateNativeControl() { var entry = new EEntry(Forms.NativeParent) { IsSingleLine = false, }; return(entry); }
string SetFilter(ElmSharp.Entry entry, string text) { if (!first && entry.Text.Length == 2) { return(""); } else { first = false; return(text); } }
string?MaxLengthFilter(EEntry entry, string s) { if (VirtualView == null || PlatformView == null) { return(null); } if (entry.Text.Length < VirtualView.MaxLength) { return(s); } return(null); }