Skip to content

New release with fixed decimal parsing on mask function #268

@naaando

Description

@naaando

Hello, can you generate a new dist with fixed mask function for numeric values?

var isNumber = !isNaN(value);
var decimalPointIndex = isNumber? value.indexOf("."): value.indexOf(settings.decimal);

The current dist is shipping a broken mask implementation that don't translate well decimal values if the separator is set for another character

var decimalPointIndex = value.indexOf(settings.decimal);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions