How to configure uI-mask clearOnBlur inline?

1

Is there any way to configure Inline mode clearOnBlur of ui-mask ?

According to the documentation, one of the ways to set ui-mask is Config Provider > (or something like this), as in the example below:

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

Example extracted from: link

Following the suggested logic for setting the Placeholder Char , which is something like:

<input type="text" (...) ui-mask-placeholder-char="_"/>

I was given the chance to use it this way:

<input type="text" (...) ui-mask-clear-on-blur="false"/>

... but, as you can imagine, it does not work.

Looking at other forums, in the gringo OS, something interesting was plausibly suggested:

<input type="text" (...) ui-options="{clearOnBlur: false}"/>

Example extracted from:

... but it also did not work.

I believe there are other ways to set up via Directives or even Filters , but there is some way inline >?

    
asked by anonymous 11.07.2016 / 16:43

0 answers