Unplanned
Last Updated: 05 Apr 2023 08:10 by Nethra
Nethra
Created on: 05 Apr 2023 08:10
Category: MaskedInput
Type: Bug Report
MaskedInput: [UWP] Exception when using Regex MaskType with MaskExtensions Email and IP

System.ArgumentOutOfRangeException: Count cannot be less than zero. Parameter name: count at System.String.Remove(Int32 startIndex, Int32 count) at Telerik.XamarinForms.Input.MaskedInput.MaskParser.ConstructCandidateTextForMaskTypeRegex(String oldText, Int32 startIndex, Int32 selectionLength, String enteredText, Boolean userDeletes, Int32& insertIndex) at Telerik.XamarinForms.InputRenderer.UWP.MaskedInputFormsTextBox.CreateCandidateText(KeyRoutedEventArgs e, Int32& actualInsertIndex)

The issue can be reproduced in SDK Browser application MaskedInput/Features/Regex Mask example IP and email masks when enter symbol like ., @, etc.

 

 

0 comments