cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pradeep_2161
New Member

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

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (47,552)