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

Add option to reverse fill #238

Open
Alanzhoffmann opened this issue Jan 24, 2018 · 0 comments
Open

Add option to reverse fill #238

Alanzhoffmann opened this issue Jan 24, 2018 · 0 comments

Comments

@Alanzhoffmann
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant