I created a simple little canvas app. It shows a list of our clients, the user chooses one and click next. On the next screen is an email template. The user enters the email address and click send. An email with the relevant client's information is then sent to the recipient.
There is a small issue that I don't know how to fix.
See attachment ss1: if I were to type the entire email address and click send, it works.
See attachment ss2: if I were to select the suggested person, the email address box is cleared, and the name is moved to below it.
See attachment ss3: If I send the email with the empty to box, with the name underneath, I get this error. And afterwards, the name in blue underneath the to box, isn't cleared either.
My send button has the following on select:
Office365Outlook.SendEmailV2(to_txt.Text, subject_txt.Text, body_txt.Text);
Reset(to_txt);
Reset(body_txt);
Navigate(ClientListScreen)
What am I missing?