07-28-2021, 05:18 PM
You can try something like this in your IWedit OnHTMLtag for numeric keyboard in Mobile:
No tested, but I think if you correct define DataType = stTel or DataType = stEmail, etc, mobile keyboard showed based on DataType you choose.
Code:
procedure TIWF_Menu.IWEdit1HTMLTag(ASender: TObject; ATag: TIWHTMLTag);
begin
ATag.AddStringParam('inputmode', 'decimal');
ATag.AddStringParam('pattern', '[0-9]*');
ATag.AddStringParam('autocorrect', 'off');
end;