I have a button to submit a form (Form1) for a new item in my new item screen. I copyed all the logic from the budget app template.
The "Save" button has this property:
OnSelect = SubmitForm(Form1)
Form1 has this property:
OnSuccess = Navigate(Landing,ScreenTransition.Fade);ResetForm(Form1)
However there is no indication that the button has been successfully pressed, so that I pressed it twice and created two new identical records in my data source.
Does any one have a good idea how to prevent submitting a new item form twice?
Maybe you disable the button as soon as it is pressed? Is there a correct way to do this?