-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Closed
Description
Version
15.8.3
Reproduction link
Steps to reproduce
Use a v-if that uses optional chaining w/ @vue/cli version 4.2.0
:
v-if="test?.length > 0"
What is expected?
no error is thrown
What is actually happening?
following error is thrown:
Errors compiling template:
invalid expression: Unexpected token '.' in
test?.length > 0
Raw expression: v-if="test?.length > 0"
karladler, kissu, Killea, moorwen91, adam-boduch and 224 morecat-walk, jsbroks, san-kumar, jofftiquez, ady642 and 11 morenathanjohnson320, nextack, perryoneone, kirillgroshkov, eggsy and 16 moreiliyaZelenko, perryoneone, adjenks, jsbroks, benlind and 7 more