fixed infinite cycle by removing getPattern function in favor of field.regex
This commit is contained in:
		
							parent
							
								
									c9cc2d9fdd
								
							
						
					
					
						commit
						1f9c3b142d
					
				
					 2 changed files with 1 additions and 5 deletions
				
			
		|  | @ -45,7 +45,7 @@ | |||
|                     <!-- Regex --> | ||||
|                     <div ng-switch-when="regex"> | ||||
|                       <input type="text" class="form-control" ng-model="parameters[field.name]" | ||||
|                              ng-pattern="getPattern(field)" | ||||
|                              ng-pattern="field.regex" | ||||
|                              placeholder="{{ field.placeholder }}" | ||||
|                              ng-name="field.name" | ||||
|                              id="{{ field.name }}" | ||||
|  |  | |||
		Reference in a new issue