@@ -8,30 +8,31 @@ public enum TextContentType {
88 /// For numbers that may include decimals or negative numbers, see ``decimal(signed:)``.
99 ///
1010 /// If `ascii` is true, the user should only enter the ASCII digits 0-9. If `ascii` is
11- /// false, they may see a different numeric keypad depending on their locale settings
12- /// (for example, they may see the digits ० १ २ ३ ४ ५ ६ ७ ८ ९ instead if the language
13- /// is set to Hindi).
11+ /// false, on mobile devices they may see a different numeric keypad depending on their
12+ /// locale settings (for example, they may see the digits ० १ २ ३ ४ ५ ६ ७ ८ ९ instead
13+ /// if the language is set to Hindi).
1414 case digits( ascii: Bool )
1515 /// A URL.
1616 ///
17- /// This keyboard type typically has prominent buttons for "/" and ".com", and might not
18- /// include a spacebar.
17+ /// On mobile devices, this type shows a keyboard with prominent buttons for "/" and ".com",
18+ /// and might not include a spacebar.
1919 case url
2020 /// A phone number.
21- ///
22- /// This input type has buttons for the digits 0-9 and the symbols "#" and "*", and may
23- /// include other symbols or even letters.
2421 case phoneNumber
2522 /// A person's name.
23+ ///
24+ /// This typically uses the default keyboard, but informs autocomplete to use contact
25+ /// names rather than regular words.
2626 case name
2727 /// A number.
2828 ///
29- /// This keyboard type is guaranteed to have at least digits and a decimal separator. If
30- /// `signed` is true, the input will also have a plus sign and minus sign. Other characters
31- /// may also appear .
29+ /// If `signed` is false, on mobile devices it shows a numeric keypad with a decimal point,
30+ /// but not necessarily plus and minus signs. If `signed` is true then more punctuation can
31+ /// be entered .
3232 case decimal( signed: Bool )
3333 /// An email address.
3434 ///
35- /// This keyboard type typically has prominent buttons for "@", ".", and/or ".com".
35+ /// This informs autocomplete that the input is an email address, and on mobile devices,
36+ /// displays a keyboard with prominent "@" and "." buttons.
3637 case emailAddress
3738}
0 commit comments