Merge Angular 16 Irish Monitor to develop #33
|
@ -478,7 +478,7 @@ export class InputComponent implements OnInit, OnDestroy, AfterViewInit, OnChang
|
||||||
|
|
||||||
ngOnChanges(changes: SimpleChanges) {
|
ngOnChanges(changes: SimpleChanges) {
|
||||||
if (this.formControl) {
|
if (this.formControl) {
|
||||||
if (changes.value) {
|
if (changes.value && changes.value.currentValue !== changes.value.previousValue) {
|
||||||
this.formControl.setValue(this.value);
|
this.formControl.setValue(this.value);
|
||||||
}
|
}
|
||||||
if (changes.validators) {
|
if (changes.validators) {
|
||||||
|
@ -826,6 +826,7 @@ export class InputComponent implements OnInit, OnDestroy, AfterViewInit, OnChang
|
||||||
|
|
||||||
resetValue(event: any) {
|
resetValue(event: any) {
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
|
console.log(1)
|
||||||
this.formControl.setValue('');
|
this.formControl.setValue('');
|
||||||
this.focus(true, event);
|
this.focus(true, event);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue