Notifications
Announcements
I have a text label using a gallery to get the value for the text. Some of them end up having unwanted line breaks. Is there any way to force the text to be single line while still using text label rather than using a text input field?
May I ask what is the data source of your gallery? Also, if you could share screenshot that would be very helpful.
The galley's data source is a custom connector to an API. I don't have control over how the data is received from the API, but I am hoping there's a way to format it through power apps to remove the line breaks so it can all be in one line
This is the actual data from the API that it is receiving
You can try using this.
Substitute(text,"\n","")
Still has the same issue
How about this one.
Substitute(text,Char(10),"")
Yes this works, thank you very much
You're welcome.
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 721 Most Valuable Professional
Michael E. Gernaey 320 Super User 2025 Season 2
Power Platform 1919 268