appsmith icon indicating copy to clipboard operation
appsmith copied to clipboard

[Bug]: Object property inference error

Open fguizc opened this issue 2 years ago • 3 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Description

When I use optional chaining, the system defaults to inferring that the property value is undefined, but in reality, the property has a value.

Steps To Reproduce

  1. fetch data and successful
  2. bind value to widget
  3. use ? Optional chaining
  4. show the property is undefined
  5. remove ?
  6. display the correct value
image image

incorrect


image

correct

Public Sample App

No response

Environment

Production

Issue video log

No response

Version

Appsmith Community v1.9.37

fguizc avatar Sep 14 '23 08:09 fguizc

@fguizc thank you for reporting this

Nikhil-Nandagopal avatar Sep 18 '23 06:09 Nikhil-Nandagopal

@arunvjn could you please investigate and RCA this?

bharath31 avatar Oct 03 '23 13:10 bharath31

This looks like a bug with peek overlay. cc: @bharath31 @hetunandu

arunvjn avatar Oct 18 '23 04:10 arunvjn