Add exceptions from FormValidation Angular results in Exception
0
I want to add some validation to my HTML (I am using Angular 7), so I tried to wrap a validation-form around my div 's. Now I found out, that I could not combine a form-validation with the ngModel , so I needed to do either the validation or the ngModel . I have a p-calender -element that I want not to be validated here. So I had the following code: <div class="p-col-1"></div> <div class="p-col-3"> <label>Date:</label> <br> <p-calendar [(ngModel)]="startDate" dateFormat="dd.mm.yy" class="medium-field"></p-calendar> </div> <div class="p-col-8"></div> And got the following error: ERROR Error: ngModel ca