cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pradeep_2161
Regular Visitor

How to disabled the Phone and Tablets option in PCF Control

HI All,

 

I want to disabled the Below highlighted option in my custom PCF Control.

 

PCFControlOption.png

Thanks in advance

1 REPLY 1
v-xida-msft
Community Support
Community Support

Hi @pradeep_2161 ,

Do you want to disable the "Phone" and "Tablet" layout within the Custom Control panel?

Further, do you want to force using the "Web" option, and could not enable the other two options?

 

If you want to disable the "Phone" and "Tablet" layout within the Custom Control panel, I afraid that there is no way to achieve your needs. The "Web", "Phone" and "Tablet" are default layout option for Custom control in Model-Driven app forms, currently, there is no way to disable the "Phone" and "Tablet" Layout option for custom control.

 

If you would like this feature to be added, please consider submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas

 

Actually, if you do not select the "Phone" and "Tablet" Layout option for your custom control, your custom control would not be applied to the "Phone" and "Tablet" Layout.

In other words, according to the screenshot that you mentioned, when your Model-Driven app form is in "Phone" or "Tablet" layout, the corresponding field would be decorated as a Read-Only Grid (default) control rather than your custom PCF control. Only when your Model-Driven app form is in "Web" layout, the corresponding field would be decorated as your custom PCF control.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,607)