Hi all
We've already a ticket open at microsoft and I'm now curious if any of you ever faced this issue.
We developed a pcf control with react which formats and validates phone numbers bound to standard phone fields. Only on the production environment (fastest environment, approx. 2k users daily) we have the issue that in some cases the pcf control doesn't receive any props (phone number and iso code for formatting) when the form has fully loaded. UpdateView just doesn't get called anymore and due to a mistake in react pattern phone numbers got overwritten with null. We fixed this:
private _numberChanged(newNumber: string) {
if (newNumber !== this._properties.initialNumber) {
this._value = newNumber;
this._notifyOutputChanged();
}
}
but now the users cannot tell if this record has a phone number or not, possibly generating overhead when they realize the phone number is missing and have to look it up. The pcf control follows best practice, there are no known anti-patterns used.
So to us this seems to be a platform/framework issue due to some strange race conditions as it only happens on the fastes environment. We could never reproduce the issue on any other environment or customer.
Any ideas? Any hints?
Thanks in advance!