Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Luke Pfeiffer
    @lukepfeiffer10
    I can't think of anything off the top of my head. Just the normal fork and pull request. That's what I have done
    Kerry McCullough
    @kmccullough
    k
    Kerry McCullough
    @kmccullough
    tests pass
    Luke Pfeiffer
    @lukepfeiffer10
    Cool submit the PR. Oh try to make it a single commit. Forgot about that
    Kerry McCullough
    @kmccullough
    it is, it's a one liner
    are you the maintainer?
    Luke Pfeiffer
    @lukepfeiffer10
    No I just happen to be the most active right now
    Adrien Crivelli
    @PowerKiKi
    @kmccullough I guess I would be the maintainer, but ironically enough I may be the one that know the less about this lib, since I didn't code it nor used it :P
    Luke Pfeiffer
    @lukepfeiffer10
    No worries @PowerKiKi as long as you keep merging PRs for us 😃
    Jonathan Solorzano
    @fenixsolorzano
    How does the optional work?
    Luke Pfeiffer
    @lukepfeiffer10
    If you have a mask like so, 9999? the fourth digit in your mask can be included or excluded and still be considered a valid value.
    Adrien Crivelli
    @PowerKiKi
    @lukepfeiffer10 is taking over ui-mask project, wish him luck !
    Hai Trung
    @HaiTrung
    Hello every body! Can you help me. I need to mask a text input in Angularjs. Have a function in Angular UI do it?
    Farhan Salam
    @farhansalam
    Hi guys need a little help here.
    it might seem a bit stupid but iam kinda stuck here with including the module using ui.mask . ui-mask lib is installed using bower and i can see the angular.module loaded in vendor.js which is included in index.html file using grunt
    but still getting the
    Module 'ui.mask' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
    Adrien Crivelli
    @PowerKiKi
    @farhansalam this should work: var app = angular.module('demo', ['ui.mask']);
    Farhan Salam
    @farhansalam
    @PowerKiKi Thanks for the help. This is exactly what I was doing. Actually there was an error in a library other than ui-mask and it was causing all libs included after it in vendor.js to fail.
    fixed it
    Manar Kurmanov
    @manar-mk
    hi)
    a question about masking
    how to define this pattern? \d+
    in ui-mask
    roosuocha
    @roosuocha
    I second the @manar-mk question
    Main gripe being when working with currency formatted data -- placeholders are stubborn. If I want to enter $1098.02, and I have space for a million dollars, i.e. $?9?9?9,?9?9?9,?9?9?9.99, entering the above yields $109,802, _ _ _ . _ _
    Emmanuel Arzate
    @Eiarzate1
    I had to dig in the mask.js file to find the attribute allowInvalidValue.
    I am using it now. But I spent a few hours trying to save invalid values through some tmp var. That wasn't working since the value would get cleared by ui-mask. It would be good if allowInvalidValue was in the docs.
    Adrien Crivelli
    @PowerKiKi
    @Eiarzate1 please create a PR to improve the docs
    Heyligen Grégory
    @heyligengregory
    Hi, a question about using ui-mask on IE. Does placeholder works on your side ?
    It seems that there is trouble, its like the input was onFocus but it's not
    Mikael Pettersson
    @Evanion
    Is there any way to dynamically add the separators to the mask when the user is typing?
    IE, the mask might look like this: 999-9999 .. when the user have typed 12nothing of the mask is visible, but when the user inputs the third char, the dash in the mask is added, and the user continues with the forth number etc?
    Manar Kurmanov
    @manar-mk
    hi guys is there version for angular 2 ?
    Adrien Crivelli
    @PowerKiKi
    @manar-mk AFAIK there is nothing for angular 2+
    anthonyartese
    @anthonyartese
    If angular2+ is not supported, does anyone have recommendations for a masking lib?
    Sebastian Wierzbicki
    @devseba_twitter

    I dont know if it’s a good channel for that. But i’ll try…
    I use a ui-mask plugin in angular 1.5.x
    And strange thing happend. I include <script> tag into my html and

    <script type="text/javascript" src="bower_components/angular-ui-mask/dist/mask.js"></script>

    . I added ui.mask in my app module dependencies. I add to my app.config.js this peace of code:

    app.module('my-app‘)
            .config(['uiMask.ConfigProvider', function(uiMaskConfigProvider) {
                 uiMaskConfigProvider.clearOnBlur(false);
      }

    And after minification and concatenation. I have an error about problem with injecting ConfigProvider.
    I was trying to compare content of bower_components/angular-ui-mask/dist/mask.js with minified components.js and there wasnt some part of code :O
    WTF :O

    And i dont know if it’s a grunt problem or ui-mask problem :(
    Sebastian Wierzbicki
    @devseba_twitter
    Anyone?
    Sebastian Wierzbicki
    @devseba_twitter
    components.js:65110 Uncaught Error: [$injector:modulerr] Failed to instantiate module MyApp due to:
    Error: [$injector:unpr] Unknown provider: uiMask.ConfigProvider
    Sebastian Wierzbicki
    @devseba_twitter
    But only after grunt tasks with minification and concatenation :(