I know ng-pattern can be used to allow characters. I'm looking for a way to just limit one specific character.
My input box should work with any characters except the verticle bar '|' . I want to either throw an error just not allow it to be typed out. Is there an easy way to just not allow that specific character. Or should I just use ng-pattern to include EVERYTHING except the vertical bar? ( how would I do that?)
My html:
<td class="col-xs-3">
<input type="text"
name="Application"
ng-model="list.Application"
maxlength="64"
required />
<div ng-messages="addForm.Application.$error"
ng-if="addForm.$submitted"
</div>
</td>