Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit eb3ce02

Browse files
committed
Merge branch '4.8.0' into 5.0.0
2 parents 57ac0a9 + 54a1679 commit eb3ce02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Xamarin.Forms.Platform.iOS/Renderers/EntryRenderer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ void UpdateMaxLength()
390390

391391
bool ShouldChangeCharacters(UITextField textField, NSRange range, string replacementString)
392392
{
393-
var newLength = textField?.Text?.Length + replacementString.Length - range.Length;
393+
var newLength = textField?.Text?.Length + replacementString?.Length - range.Length;
394394
return newLength <= Element?.MaxLength;
395395
}
396396

0 commit comments

Comments
 (0)