Hello,
I have scenario like this:
In my gallery, I use this formula for OnSelect:
If(
IsBlank(CurrentMesinPC),
UpdateContext({ CurrentMesinPC: RecapSOW_Update.Selected.Subtitle2_2,
CurrentAreaPC: RecapSOW_Update.Selected.Subtitle2_3 }),
UpdateContext({ CurrentMesinPC2: RecapSOW_Update.Selected.Subtitle2_2 })
)
I want to get area & current machine when I click gallery for the first time, and get next machine when I click gallery for the second time. So, I write this formula on Default's Text Input (area, current machine, and next machine).
I want to delete that TextInput's text after I submit the data (after click 'update' button), I used:
Reset(TextInput)
but it cant work. Does anyone know how to reset data with that scenario?
Thankyou!
Hi @firda59 ,
May I ask what data source you have used?
We create a SharePoint List as data source for a Sample.
Insert a gallery to show it.
The Button for Get the CurrentAreaPC:
Default of TextInput:
Clear the data of TextInput:
UpdateContext({CurrentAreaPC: Blank()});
Testing:
Hope this will help you,
Best Regards,
Tina
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
mmbr1606
275
Super User 2025 Season 1