I am banging my head around a tiny equation which gives 'blue underline' error.
The equation is;
If(IsEmpty(Value2.Text), DisplayMode.Disabled, DisplayMode.Edit)
If(IsEmpty(Value2), DisplayMode.Disabled, DisplayMode.Edit)
This gives me "Expecting a true or false value. The current value may cause unexpected behavior"
Plz tell me I am not going mad.
Solved! Go to Solution.
I think the issue lies within 'Value2' rather than the formula.
Just tested this myself with a textinput field that is called 'Value2' and both statements you listed work without error.
What exactly does Value2 refer to - a variable?
In that case you may need to change the statement to say If (Variable2 = "", DisplayMode.Disabled, DisplayMode.Edit)
It would be nice if MS put a suggestion linking Display Mode and Visibility in the Help notes/field as this is (apparently) something many of us have [still] done by mistake.
Find your favorite faces from the community presenting at the Power Platform Community Conference!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.
Features releasing from October 2020 through March 2021