Skip to content

empty input converted to 0 #127

@dogle-scottlogic

Description

@dogle-scottlogic

An empty input of '' is converted to 0 when passed to the onChange as the getRawValue function uses the helpers.formattedToRaw function which returns Number('');. Request that an option is added to allow an empty string or null to be returned to allow the ability to distinguish in the event handler if a user has entered a 0 or has cleared the input.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions