๐ In this Cookbook, I'll show you how to reset a text label in Power Apps.
I'm also attaching the package, feel free to import it and test it!
Contents
- Step to clear the text input
- Step to use Hint text for user guidance
- Step to add a function in Power Apps
- Step to clear the text label
- Demo
1. Step to clear the text input
Select + Insert > Text Input
Select + Insert > Icons > Reset
Select Icon1 on the left pane > Select the Property OnSelect > Type Reset(TextInput1) in the formula bar

2.Step to use Hint text for user guidance
Select TextInput1 on the left pane > From the right pane > Select Properties
> Remove the text in Default
> Add enter a number in Hint text

3.Step to add a function in Power Apps
Select + Insert > Select Button
Select Button1 on the left pane > Select the property OnSelect > type Set(Valuesqrt, Sqrt(TextInput1)); in the formula bar
On the right pane > Select Text and change to Calculate square root โ

4.Step to clear the text label
Select + Insert > Select Text label
Select Label1 > Select the property Text > type Valuesqrt

Select + Insert > > Icons > Reset
Select Icon2 > Select the property OnSelect > type in the formula bar Set(Valuesqrt, Blank());

Select Save
5.Demo ๐ผ
