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
Note that argument defaults work only if the value is exactly undefined. In your component you are setting it to '' (an empty string) which is not undefined.
Version
2.6.10
Reproduction link
https://codepen.io/gongph/pen/bGbQLGE?editors=1010
Reproduction code at below:
Javascript:
Html:
Steps to reproduce
What is expected?
if prop is undefined show
gongph
value. for example:What is actually happening?
gongph
value can normal render , but console show warn message:The text was updated successfully, but these errors were encountered: