Hey,
I would like to clear the text input completely when I reset it.
As you can in the picture there's one annoying space and therefore the user can continue.
Thanks
Solved! Go to Solution.
Hi @Racheli
Most likely, it will be one of these two statements that is causing the space.
It's possible that the Char(13) branch of the if statement is outputting a carriage return, which would produce something that would look like a space in the text input control.
To diagnose this issue further, I would add another text input control and set the text property to each of the highlighted statements to work out which one is producing the space. Once you determine the statement that produces the space, you could wrap the statement with a call to the Substitute function to remove the space.
Alternatively, another approach would be to wrap your entire statement around a call to the TrimEnds function to remove trailing spaces.
https://docs.microsoft.com/en-gb/powerapps/maker/canvas-apps/functions/function-trim
Hi @Racheli
What's the default value of your item description text input control? Is it set to a single space?
Here is the default:
No spaces as you see....
Hi @Racheli
Most likely, it will be one of these two statements that is causing the space.
It's possible that the Char(13) branch of the if statement is outputting a carriage return, which would produce something that would look like a space in the text input control.
To diagnose this issue further, I would add another text input control and set the text property to each of the highlighted statements to work out which one is producing the space. Once you determine the statement that produces the space, you could wrap the statement with a call to the Substitute function to remove the space.
Alternatively, another approach would be to wrap your entire statement around a call to the TrimEnds function to remove trailing spaces.
https://docs.microsoft.com/en-gb/powerapps/maker/canvas-apps/functions/function-trim
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
259 | |
122 | |
85 | |
81 | |
70 |