You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yep, that's correct! It works fine if I don't use the exclamation point, but when I do use the exclamation point to negate the result of the expression, that's when I see the error.
RomanTsukanov
changed the title
! operator with async expressions causes error
An exclamation mark operator (!) produces an error in async expressions
Nov 1, 2023
Are you requesting a feature, reporting a bug or asking a question?
Reporting a bug
What is the current behavior?
When using the
!
operator on an async expression, the page errors out with "this.returnResult
is not a function."What is the expected behavior?
The page should not error out, and should work as expected.
How would you reproduce the current behavior (if this is a bug)?
true
)visibleIf
, and use the!
operator to negate it.Provide the test code and the tested page URL (if applicable)
Tested page URL: https://codesandbox.io/s/brave-heyrovsky-3rzmnc?file=/src/SurveyComponent.jsx
Specify your
The text was updated successfully, but these errors were encountered: