[Console] Condition doesn't work for template autocompletion #120888
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Console
Dev Tools Console Feature
Feature:Dev Tools
Team:Kibana Management
Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Kibana version:
Main branch d1774fe
Elasticsearch version:
8.0
Server OS version:
macos Catalina
Browser version:
Version 96.0.4664.55 (Official Build) (x86_64)
Describe the bug:
When there are different conditions for autocomplete, the suggestions work as expected but template is always the same.
Steps to reproduce:
"settings"
on the 2nd line and select it from the autocomplete suggestions."type"
and change it to another value, for example"type": "azure"
."settings"
again, select it from autocomplete suggestions and see the same template printed into ConsoleExpected behavior:
Different templates for
settings
param are printed to Console, depending on the value oftype
paramScreenshots (if relevant):
Screen.Recording.2021-12-09.at.12.52.58.mov
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Any additional context:
Opened while working on #120775
The text was updated successfully, but these errors were encountered: