Fix all fields are forced required

This commit is contained in:
William Nolin 2021-11-10 17:25:32 -05:00
parent c21dd8d0f9
commit a1baa334ed
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ export class CreInputComponent extends _CreInputBase implements AfterViewInit {
@ViewChild('input') input: any @ViewChild('input') input: any
@ContentChild(TemplateRef) errors: TemplateRef<any> @ContentChild(TemplateRef) errors: TemplateRef<any>
fieldRequired = true fieldRequired = false
ngAfterViewInit() { ngAfterViewInit() {
const element = this.input.nativeElement const element = this.input.nativeElement