First post on the new forum yay!
For my sharepoint list form app I have a column that currently auto-populates from a PowerAutomate flow. But it can happen that this flow will return "0" instead of another number. Right now the Displaymode of said TextInput is View, so user cannot edit it. However, for these cases that we end up with a 0, I need the possibility of user input into this Textbox. I got a really complex formula with lots of IFs that could work, but Powerapp gave an error of circular referene (of course, it would be constantly be checking if the text is 0 and allow to edit). Or, a simple conditional like this:
If(
Value(DataCardValue7.Text) = 0 && !IsBlank(ComboBox6_2.Selected.Value);
DisplayMode.Edit;
DisplayMode.View
)
I added the && to have more conditionals, thought that would fix it. But this doesn't work. As soon as user starts writing, Textinput goes to viewMode. Which makes sense, as the conditional Value(DataCardValue7.Text) = 0 is not being met.
I also thought about changing the onselect property of the textinput, but this didn't do much either. Or maybe I didn't know how to set it properly.
Anyway... Any ideas? Really appreciate input in advance :)