Notifications
Announcements
Hi
I have created a Pcf control that will display 5 input dynamics fields. When I assign the pcf control to the field "Pcf Question Input: the control is completely over lapping the entire form. What is causing this issue.
Hello,
It's a bit hard to reply why your control behaves this way. It would be possible to analyze and give you any advice if you provide the code. You can upload the code of your control to GitHub and put a link here.
I will upload the code.
Thanks
Hi a33ik,
Here's the pcf control
https://github.com/retthom/pcfcontrol.git
I’ve just had a quick look at your code and it seems like in your init you’re passing the root container off to an async process that will create your control, but then it takes that container and appends it to the document body. So you could start by removing “document.body.appendChild(this._container);” because the root container is already a part of the form and this is probably moving it higher up in the DOM.
To see what I mean I would recommend reviewing some of the samples like the ChoicesPicker which might also give you some direction as to how to use updateView instead of init - https://github.com/microsoft/PowerApps-Samples/blob/master/component-framework/ChoicesPickerControl/ChoicesPicker/index.tshttps://learn.microsoft.com/en-us/power-apps/developer/component-framework/reference/control/init
https://learn.microsoft.com/en-us/power-apps/developer/component-framework/reference/control/updateview
You may also be interested in this implementation - https://pcf.gallery/pcf-form-json/Best of luck.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268