Hi All,
I have used the https://github.com/markcunninghamuk/PCF_Library/tree/main/controls/pcfcontroldemo/MultiSelectControl
on appointment form to add multiple contacts in a field. I have done some modification in filter to select contact based on account in Index.ts[(async notifySearch(newValue: string) function] which is working fine .
The Problem is it is working only once we select the account and save/refresh the form, not on OnCreate of form or on Select of account.
So, first we have to save the account and refresh the page to see the related contacts. Not only this our pcf is refelcting multiple contacts once we add it and refresh the page on a field.In a Nutshell it is wokring on Onsave/refresh.
Can anybody please help and give the idea on how to make it work on Oncreate ?