cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pNabin
Advocate V
Advocate V

Datacard in view mode (for form in Edit mode), not showing all contents

Hi,

I have a form with DefaultMode:Edit. In the same form, I have datacard with DisplayMode=DisplayMode.View. The datacard in View mode is showing just the information which can be adjusted inside the datacard value box hiding information for longer values in the field.

If the Defaultmode of form is View, the information in the field with longer contents are shown in other lines.

I have enclosed the screenshot for both scenarios.

Is there a way to show all the information of the field (non editable) with form in edit mode?

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @pNabin

 

If you just want to view data on an edit form, an alternative is to use a card with a label control, rather than a text input control.

 

A quick way to do this is to select your edit form, click the properties > fields link, and change the control type to 'View text'. Hopefully, that'll work better for you.

 

ViewText.png

View solution in original post

4 REPLIES 4
timl
Super User
Super User

Hi @pNabin

 

If you change the mode of your text input control to 'multiline', the control should hopefully not truncate your text when the DisplayMode of your card is set to View.

 

Multiline.JPG

@timl,

Thank you. It helps somewhat except I have to manually set the height of the multiline text input control. Is there any way to fix it? It is because sometimes, it could be several lines for some records. It would be great if there is auto height feature associated ow some workaround.

Hi @pNabin,

 

Do you want to set the height of the multiple text input control automatically within your app?

 

There is no Auto height property associated with the Text Input control in PowerApps currently.

 

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

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

 

Best regards,

Kris

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.

Hi @pNabin

 

If you just want to view data on an edit form, an alternative is to use a card with a label control, rather than a text input control.

 

A quick way to do this is to select your edit form, click the properties > fields link, and change the control type to 'View text'. Hopefully, that'll work better for you.

 

ViewText.png

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,630)