I have an input text box i would like to restrict the input to a fix number of characters, for example stop displaying keystrokes after this maximum length has been reached in Angular JS 2
-
Did you try maxlength?Dan Wilson– Dan Wilson2016-11-08 00:24:24 +00:00Commented Nov 8, 2016 at 0:24
-
HTML's maxlength is exactly for this.silentsod– silentsod2016-11-08 00:25:58 +00:00Commented Nov 8, 2016 at 0:25
-
Possible duplicate of Limit the length of input field using angular2Marcs– Marcs2016-11-08 02:52:30 +00:00Commented Nov 8, 2016 at 2:52
-
Thank you guys html max length worked for meLamar Myles– Lamar Myles2016-11-08 03:00:59 +00:00Commented Nov 8, 2016 at 3:00
Add a comment
|