Skip to content

.NET MAUI Entry Maximum Length not working on iOS and macOS #33316

@Hemalatha-SF4675

Description

@Hemalatha-SF4675

Description

Entry MaxLength set to 4 works on Android and does not work on iOS and macOS. Input is not restricted to four characters on iOS and macOS. This looks like a framework level issue.

Steps to Reproduce

Reproduction Steps

  1. Create a new .NET MAUI project
  2. Add an Entry with

SimpleSample.zip

set to 4
3. Run on Android and type more than four characters input stops at four
4. Run on iOS and macOS and type more than four characters input allows more than four

Expected Behavior
Input should be limited to four characters on all platforms

Actual Behavior
Android limits input to four characters

Link to public reproduction project repository

No response

Version with bug

10.0.20

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

10.0.20

Affected platforms

macOS

Affected platform versions

Mac and iOS

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions