Hi,
I'm new to Power Apps, I managed to do what I needed for now, however I have an issue I can't work out.
My data are in a share point list extacted from an Excel file. I want to display what's in the cell but I have the line breack <br> showing in the app.
How can I get rid of it ?
Solved! Go to Solution.
Hi,
Try something like this:
Substitute( String, "<br>", "")
String is where your content that is displayed in your image will be.
Let me know if this works.
---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!
Hardit(Haman)
Whats the text property of that datacard? In the image, it shows Parent.Default. So what is the default property of that datacard?
---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!
Hardit(Haman)
No problem, we will work through this.
The image you shared showed the display property of the text box. Like shown below:
What I want you to share with me is the display property of the databcard. Like shown below:
---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!
Hardit(Haman)
Hi @GGBB
Another way to do this is to use the rich text control rather than a textbox. You can change this by selecting your form, clicking the edit fields option, and selecting the rich text option.
The rich text control displays <br> tags as a line break, so there won't be any need for you to substitute those tags.
Hi @GGBB ,
So it's inside an edit form control. Please select this data card, unlock it, then set the Default property of the textinput control to:
Substitute( ThisItem.'Conseils de prudence', "<br>", " ")
Regards,
Mona
Just want to make sure that your suggested solution is the same as mine.
Thanks!
Hardit (Haman)
Thanks for your help
@timlI tried it but it doesn't work
I don't have the Default property for this datacard (and the others)
User | Count |
---|---|
254 | |
246 | |
82 | |
44 | |
27 |
User | Count |
---|---|
341 | |
268 | |
123 | |
61 | |
58 |