Skip to content

Some of the examples are not working #17

@Stevemoretz

Description

@Stevemoretz
    var formatter = new StringMask('#0,00%');
    var result = formatter.apply('001'); // 0,01%

the result is empty.

	var formatter = new StringMask('#0');
	var result = formatter.apply('123'); // 123

gives 12 instead of 123.

    var formatter = new StringMask('UUUUUUUUUUUUU');
    var result = formatter.apply('To Upper Case'); // TO UPPER CASE

give TO

I'm using in on react native (which shouldn't be important really but I thought it's better I mention it).

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