Skip to content

EuiFieldNumber should allow step attribute with "any" value #3550

@darnautov

Description

@darnautov

Kibana: master
EUI: 23.3.1

According to the <input type="number"> specification step attribute supports "any" as a valid value. At the moment EuiFieldNumber accepts step prop of type number only. Besides TS complaining about the prop type, I also get warning in console Warning: Failed prop type: Invalid prop "step" of type "string" supplied to "EuiFieldNumber", expected "number".

Metadata

Metadata

Assignees

No one assigned

    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