Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Add option to reverse fill #238

@Alanzhoffmann

Description

@Alanzhoffmann

An issue I've found is when the first characters are optional, I have to fill them anyway for my mask to actually work.

<input ng-model="time" ui-mask="9?9?9:99" />

Filling it from right to left would make it possible to type 545 and it show up 5:45 instead of 545:__ as it is.
Additionally it would be perfect if I could type infinitely for it to mask only the end, something like

<input ng-model="time" ui-mask="9#9:99" />

so typing 113534 would show 1135:34

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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