Can anyone help me with an issue I'm facing in my plunker? I have an input text field that I want to accept only numbers. Despite trying normal AngularJS form validation, the event is not firing up. Has anyone encountered a similar problem or can provide some insights?
<input type="text" ng-model="valuesForOutputs[item.name][i]"
ng-disabled="isDisabled(item.name, i)" ng-pattern="/^(\d)+$/"
required name="value"
placeholder="Enter value">
<span class="error pop_up" ng-show="targetForm.value.$error.pattern">Please enter only number</span>