-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed
Labels
Feature:Index ManagementIndex and index templates UIIndex and index templates UITeam:Kibana ManagementDev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t//Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t//bugFixes for quality problems that affect the customer experienceFixes for quality problems that affect the customer experiencev7.10.0
Description
We have a regression in the "scaled_float" and "date_range" field type. Both have a logic that looks for the field type expecting a "string" but now the type is always an array of ComboBoxOption.
This regression probably came when I fixed the "serializer being called on each field value change" issue (#75166)
The issue is that both types have an extra form field to render in the form if the type is detected.
<FormDataProvider pathsToWatch="subType">
{(formData) =>
formData.subType === 'date_range' ? (
<LocaleParameter defaultToggleValue={getDefaultToggleValue('locale', field.source)} />
) : null
}
</FormDataProvider>but the statement formData.subType === 'date_range' will never be true as the subType we receive is an array of objects.
I've tested both 7.9 and 7.10 and the regression is only in 7.10.
Metadata
Metadata
Assignees
Labels
Feature:Index ManagementIndex and index templates UIIndex and index templates UITeam:Kibana ManagementDev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t//Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t//bugFixes for quality problems that affect the customer experienceFixes for quality problems that affect the customer experiencev7.10.0