dimanche 7 mai 2023

Powerapps: Clear/Reset Gallery fields with button

I have a simple question that I haven't found or understood anywhere on the internet. I'm a novice powerapps user. I would like to click a button and clear all fields (inputText, checkbox, etc) from a gallery. Details: My data source is some excel tables; this gallery (not a collection or a form for god's sake) has some information from my data source (tab_lista). I tried the following command without success:

Mybutton

OnSelect

ForAll(BrowseGallery1.AllItems;
    If(ThisRecord.Checkbox1.Value = true;Checkbox1.Value = false);;
    ThisRecord.InputText1.Text = ""
)

Segue uma imagem.

enter image description here




Aucun commentaire:

Enregistrer un commentaire