We are seeing a weird phenomenon in several customer environments where a standard control bound property is not populated during the init lifecycle event i.e. is null whenever we reach into the property bag to get the value.
Interestingly, if we wait a bit and try again, the value is populated in the property bag.
<property ...... of-type="SingleLine.Text" usage="bound" required="true" />
// Comes in as null
console.log('MyProp is available: ', this._context.parameters.myprop.raw === null);
// However, if we wait a bit and try again
if (this._context.parameters.myprop.raw === null) {
setTimeout(async () => {
// No longer null
console.log('MyProp is available: ', this._context.parameters.myprop.raw === null);
}, 3000);
}
Can anyone explain why we would see this behavior in some circumstances?
Thanks in advance,
Irvin