Skip to content

Commit 1298eb9

Browse files
committed
[TSVB] Request validation error: [panels.0.series.0.metrics.0.percentiles.1.value] (elastic#79009)
Closes: elastic#79006
1 parent fa7ca30 commit 1298eb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/vis_type_timeseries/common/vis_schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export const metricsItems = schema.object({
111111
field: stringOptionalNullable,
112112
mode: schema.oneOf([schema.literal('line'), schema.literal('band')]),
113113
shade: schema.oneOf([numberOptional, stringOptionalNullable]),
114-
value: schema.oneOf([numberOptional, stringOptionalNullable]),
114+
value: schema.maybe(schema.oneOf([numberOptional, stringOptionalNullable])),
115115
percentile: stringOptionalNullable,
116116
})
117117
)

0 commit comments

Comments
 (0)