HI ALL:
I have a inputext then I set the Default like this
Code:
If(
!IsBlank(
LookUp(
'Write-OFF Request',
Title = thistimetitle
).'Column-1'
),
soamailsubject,
"TEST Message"
)
Then I add a "icon" to let user can update this textinput's text
Code
Set(soamailsubject, "Demo Unit Write-Off -"& thistimetitle &" SOA Info information")
After I test this app , I found something wrong ~~~~
When user click the icon first time , the textinput's text will change , but after user modify then click again , the textinput's text will not change !!!!!
I do not know what wrong with my code , so I need your help to overcome this problem , thank you very much !!!!
Solved! Go to Solution.
Change your Formula on the OnSelect of your Icon to the following:
Set(soamailsubject, "Demo Unit Write-Off -" & thistimetitle & " SOA Info information");
Reset(yourInputTextControlName)
I hope this is helpful for you.
Change your Formula on the OnSelect of your Icon to the following:
Set(soamailsubject, "Demo Unit Write-Off -" & thistimetitle & " SOA Info information");
Reset(yourInputTextControlName)
I hope this is helpful for you.
@RandyHayes
It works .....but I do not know " the reason to reset textinput " ????
Could you help my to get this ??
So the Reset on the control will put it back to its default value. If a user types anything in the input control, Default, by itself will not change it...you have to reset at that point.
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 |
---|---|
191 | |
70 | |
50 | |
38 | |
28 |
User | Count |
---|---|
243 | |
114 | |
91 | |
91 | |
71 |