Hi everyone,
I have created a simple button control using PCF and fluent ui react button control.
After binding this control to an input field and publishing the form the button was rendering on the form.
Then i went ahead and enabled the Content Security Policy , Strict CSP(preview) for the environment from PPAC portal .
Next when i opened the form again the PCF control was showing error ‘Error loading control’.
after clicking the error link it shows
Error occured during initialization of control: prefix_Namespace.ControlName; Message:Could not find/invoke Namespace.ControlName’s constructor. pcf:Not found default: Not found.
Please give any suggestions on how to resolve this issue.