Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
89e88f89
Unverified
Commit
89e88f89
authored
Aug 16, 2022
by
olof-dev
Committed by
GitHub
Aug 16, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change "Unicode scalar values" to "Unicode grapheme clusters" in maxLength docs (#106275)
parent
4739c08f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
text_field.dart
packages/flutter/lib/src/cupertino/text_field.dart
+2
-2
text_field.dart
packages/flutter/lib/src/material/text_field.dart
+2
-2
No files found.
packages/flutter/lib/src/cupertino/text_field.dart
View file @
89e88f89
...
...
@@ -651,8 +651,8 @@ class CupertinoTextField extends StatefulWidget {
/// {@macro flutter.widgets.editableText.expands}
final
bool
expands
;
/// The maximum number of characters (Unicode
scalar values) to allow in the
/// text field.
/// The maximum number of characters (Unicode
grapheme clusters) to allow in
/// t
he t
ext field.
///
/// After [maxLength] characters have been input, additional input
/// is ignored, unless [maxLengthEnforcement] is set to
...
...
packages/flutter/lib/src/material/text_field.dart
View file @
89e88f89
...
...
@@ -543,8 +543,8 @@ class TextField extends StatefulWidget {
/// part of the character counter is shown.
static
const
int
noMaxLength
=
-
1
;
/// The maximum number of characters (Unicode
scalar values) to allow in the
/// text field.
/// The maximum number of characters (Unicode
grapheme clusters) to allow in
/// t
he t
ext field.
///
/// If set, a character counter will be displayed below the
/// field showing how many characters have been entered. If set to a number
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment