Skip to content

EuiBasicTable Computed Footers have the same key #3558

@pickypg

Description

@pickypg

Computed columns for the EuiBasicTable naturally do not specify a field name to use. As a result, the generated key for the rendered EuiTableFooterCell is footer_undefined for all of them. Relatedly, if a table were to use the same field twice -- presumably with different secondary functions -- then it would hit the same issue with duplicated footer_${field} keys.

This leads to a warning per computed beyond the first one whenever the table has to re-render and it seems to cause some issues with React properly replacing the cell contents.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions