[Advanced Settings] Reset to default button doesn't appear with empty strings #84876
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Kibana Management
Feature label for Data Views, Advanced Setting, Saved Object management pages
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Kibana version:
I've checked that this issue is present since 6.7
Describe the bug:
In the advanced settings, when you clear (completely remove the format) a field like the
Date format
, theReset to default
button doesn't appear below the field. This can trick the user to think that this is the default value, causing few issues with visualizations that rely on that format.Steps to reproduce:
Advanced Settings
Date Format
, clean the field and saveReset to default
button is not presentReset to default
button is thereExpected behavior:
The
reset to default
button should appear every time the field differs from the actual default value.Screenshots (if relevant):
Errors in browser console (if relevant):
N/A
The text was updated successfully, but these errors were encountered: