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
The completions for this schema is shown like this:
correctly showing the default value for foo but also showing ${1} for bar. When hitting enter, the default value is applied to the bar element as well:
Expected Behavior
I expect the default value to only show up for the property it is defined for.
Current Behavior
Default value shows up unexpectedly in wrong place.
Steps to Reproduce
Copy the schema
ctrl + space in new file which uses the schema
hit enter
Environment
Windows
Mac
Linux
other (please specify)
The text was updated successfully, but these errors were encountered:
Describe the bug
The default value of a property in one subschema is unintentionally used as default value in string item property.
I have a json schema like so:
The completions for this schema is shown like this:
correctly showing the default value for foo but also showing
${1}
for bar. When hitting enter, the default value is applied to the bar element as well:Expected Behavior
I expect the default value to only show up for the property it is defined for.
Current Behavior
Default value shows up unexpectedly in wrong place.
Steps to Reproduce
Environment
The text was updated successfully, but these errors were encountered: