fix(form): only splice 1 element
This commit is contained in:
parent
3d16dc7b0c
commit
87bdc9a1fc
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ class FormRegistrarManager {
|
|||
}
|
||||
|
||||
remove(registrar) {
|
||||
this.__elements.splice(this.__elements.indexOf(registrar));
|
||||
this.__elements.splice(this.__elements.indexOf(registrar), 1);
|
||||
}
|
||||
|
||||
becomesReady() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue