Good afternoon, I have an input of type "number" and I need to limit the number of characters, but the way I'm doing is not working.
<input id="turbidez" type="number" ng-maxlength="7" ng-model="turbidez.turbidez" required />
When I type the field type "number", ng-maxlength works, the problem is that I can not leave field without type, as it will affect other parts of the system.
Does anyone have any ideas?