Didn't work for me (see screen shot below). In that screen shot I tried your statement as a button click, and the onchange of the trigger text box. Am I missing something?
I understand your expression to mean:
IF Textbox1.Text is equal to 1, then make Textbox2.Text equal to "a"
ELSE (not equal to 1) make Textbox2.text be equal to "b"
I'm really looking for something that is not an "IF" statement - it's a SET statement (irrelevant of any condition) meaning - SET that.value to this.value whenever this.value changes. It makes it very easy to integrate business rules into forms.
Here is my effort at your suggestion - I annotated it so you'd know what I did:
In my last try: I had to modify your expression to include the target input box. In that case, the button worked, and the default works - but it won't change to "a" when the Trigger input box changes.
I have uploaded the file to here:
https://1drv.ms/u/s!ArGMAcQsnkwmcsnhBpQbyF0SsYo
Repro: change Trigger to 1 - the default value should now change to a. (I think PowerApps people have a different definition of the word "default" than I do. LOL
IMO "Default" means the very first value, that is editable in any way you can edit it. - But PowerApps seems to be very "STICKY" on default values for some reason. (FYI: This is a true scenario to SharePoint Apps because all editform fields must use Parent.Default values....so I need to be able to overwrite the default in some cases.)
