Skip to content

[EuiSuperDatePicker] Crashes and throws Invalid time value for edge case values #4777

@jloleysens

Description

@jloleysens

Summary

Using the super time picker in Kibana can lead to UI crashing for edge case values (see elastic/kibana#91138).

How to reproduce

  1. Navigate here https://eui.elastic.co/#/forms/super-date-picker#configurations
  2. Select “days ago” and entering a value of 9 9s
  3. See error

Is there a recommended way to handle this outside of the elastic/eui lib such that we can not crash and guide users to the erroneous input?

Gif

supertimepickerbug

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⚠️ needs validationFor bugs that need confirmation as to whether they're reproducible

    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