Fix all fields are forced required
This commit is contained in:
parent
c21dd8d0f9
commit
a1baa334ed
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue