Answer the question
In order to leave comments, you need to log in
Is that what ngTrim is for in Angular?
Hello.
I don't understand what ng-trim is for?
If it's stripping spaces at the end and beginning, then you can't get it to work.
If this is cleaning everything that does not fit the regular season, then it does not work either.
Here is the easiest option - plnkr.co/edit/r7NwcpvX3c9iw4bvfSjf?p=preview
Explain who knows.
Answer the question
In order to leave comments, you need to log in
If set to false Angular will not automatically trim the input. This parameter is ignored for input[type=password] controls, which will never trim the input.
(default: true)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question