Hello,
I created a counter with buttons that either +/- a text input with the Set(GlobalVariable, GlobalVariable+1) on the button and in the Text Input default field I have GlobalVariable. Simple enough and works as expected. The problem is that this is a form that submits to a sharepoint list and when I navigate from the gallery portion of the app to the selected item (editform) it does not populate the list data of that item.

I tried changing the default value on the text input to: If(varMode="Edit", Parent.Default, GlobalVariable)
The varMode is a global variable used in a tutorial I found online that sets the onVisible property of the form to either NewForm or EditForm based on a button the user selects.
The problem with this method is that it does not allow me to edit the field with my counter buttons because it does not recognize the field as GlobalVariable anymore.
My question is, do any of you know a way to use a counter button to increase or decrease a number in a text input that can be edited later?
Thanks,
Travis