cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Community Champion
Community Champion

Bug report: Logic with blank/null value

Here is how to reproduce the issue:

 

1) Create a text input, TextInput1 and clear its content to leave it blank

 

2) Create a text box, set its text property as follows, and ensure that it returns "true"

IsBlank(TextInput1.Text)

 

3) Create a second text box and set its text property as follows, and ensure it returns "true"

IsBlank(Last(Table({Field_A: 123, Field_B: 456}, {Field_A: 123})).Field_B)

 

4) Create a third text box and set its text property as follows

{Field_A: 123, Field_B: Value(TextInput1.Text)} in Table({Field_A: 123, Field_B: 456}, {Field_A: 123})

The problem is that the text box in step 4 will show "false" whereas the expression is actually "true"

 

Any idea of if and when this will be fixed would be very useful.

 

PS You can confirm that this is a bug by creating a fourth text box which will show "true" for the following:

{Field_A: 123} in Table({Field_A: 123, Field_B: 456}, {Field_A: 123})

I believe @AndyPennell could be interested in this behaviour

1 REPLY 1
Community Support
Community Support

Hi Meneghino,

 

Thanks for your detailed steps.


I tried your scenario, I found that only when there are value for both two fields, can the third text box be True.


I am going to involve someone who is familiar with this issue to take a further investigation on it.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (26,122)