
Announcements
For some reason when setting the max length of a text input fields eg. 10 characters, on a pc it will stop at 10 characters although on a mobile it allows you to continue typing in characters. Once you change out of the input text field it will remove all the extra characters and text will be 10 characters in length.
Unsure if its a bug. Does anyone know on how to restrict typing after the max limit is hit on a mobile device.
Any help is greatly appreciated.
Thanks
Hi @Cheno ,
If the text box is in a Form, set the MaxLength of the Data Card to 10.
OR
OnChange of the Text Box
UpdateContext(
{
var10:
Left(
Self.Text,
10
)
}
);
Reset(Self)
Default of the Text Box
var10
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps