You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After some investigations, this comes from the "shouldFire" mechanism.
On the init method, input is used instead of this.input. I don't know how the getInput() function works, but it seems that the input object is not complete before going through :
init(input) {
if (!input || input.name === this.input?.name)
return;
this.input = getInput(input);
this.load.emit(input);
if (typeof this._value !== 'undefined') {
this.input.value = this._value;
this.change.emit(this.input);
}
if (this.shouldFire) {
this.shouldFire(input); // <---- this line should be "this.shouldFire(this.input);"
delete this.shouldFire;
}
}
Am I wrong ? This solves my problem...
Thanks !
The text was updated successfully, but these errors were encountered:
Hi !
I use the
fire()
method, but instead of using a(click)="..."
, I use the reference in the component :It fails with this error :
After some investigations, this comes from the "shouldFire" mechanism.
On the
init
method,input
is used instead ofthis.input
. I don't know how thegetInput()
function works, but it seems that the input object is not complete before going through :Am I wrong ? This solves my problem...
Thanks !
The text was updated successfully, but these errors were encountered: