File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -640,7 +640,7 @@ export class ValidationService {
640
640
}
641
641
}
642
642
643
- delete this . summary [ uid ] ;
643
+ this . summary [ uid ] = undefined ;
644
644
}
645
645
this . renderSummary ( ) ;
646
646
} ) ;
@@ -659,7 +659,9 @@ export class ValidationService {
659
659
let validate = this . createValidator ( input , directives ) ;
660
660
661
661
this . validators [ uid ] = validate ;
662
- this . trackFormInput ( input . form , uid ) ;
662
+ if ( input . form ) {
663
+ this . trackFormInput ( input . form , uid ) ;
664
+ }
663
665
664
666
if ( this . elementEvents [ uid ] ) {
665
667
return ;
@@ -782,7 +784,7 @@ export class ValidationService {
782
784
input . classList . add ( 'input-validation-valid' ) ;
783
785
784
786
let uid = this . getElementUID ( input ) ;
785
- delete this . summary [ uid ] ;
787
+ this . summary [ uid ] = undefined ;
786
788
this . renderSummary ( ) ;
787
789
}
788
790
You can’t perform that action at this time.
0 commit comments