Comments (9)
Hi! not works.
console output is: Cannot read property 'createRange' of undefined
from ng2-currency-mask.
I've changed the directive's selector, but I'm struggling to have time to test this directive in Ionic. Could someone do this test with the new version?
from ng2-currency-mask.
Hello.
I has the "Cannot read property 'createRange' of undefined" error, even if I use just a input with type=number.
It's correct to assume that type='number' can't be used with masks?
from ng2-currency-mask.
Thanks. Yes, I plan.
from ng2-currency-mask.
Any release date?
from ng2-currency-mask.
It turns out that this is just a bit more difficult than changing
selector: "input[currencyMask]",
to
selector: "ion-input[currencyMask]",
ha! (dang)
from ng2-currency-mask.
most of the masks i see use type="text"
from ng2-currency-mask.
There is a new section in README.md called 'Quick fixes' with some tips to use this directive with Ionic. If problems persist, please reopen the issue.
from ng2-currency-mask.
@cesarrew Can you tell me what is index
here? Do we need to define that on ts
file?
<input currencyMask type="tel" [(ngModel)]="value" [id]="'yourInputId' + index" (focus)="scrollTo(index)" />
I cannot click the input box. Do I need to use ion-input
instead? That too not working. It shows below error. Please see that.
from ng2-currency-mask.
Related Issues (20)
- Can't bind to 'options' since it isn't a known property of 'input' HOT 5
- Library not working with reactive forms #106 HOT 2
- Decimal options is ignore when I set decimal: '.'
- ng2-currency-mask incompatible with Angular 11 HOT 2
- mask doesn't work when inside ReactiveForms formArray HOT 2
- Mac is allowing to inform values ββthat are not numeric
- pasting into mobile android devices only picks up the first number
- ERROR HOT 3
- setValue being called before inputHandler gets initialized
- Cannot find module 'ng2-currency-mask' in Angular 12 HOT 1
- Cannot read property 'setOnModelChange' of undefined HOT 2
- package dependency requirement is too strict HOT 1
- Add support for Angular 13 HOT 1
- Hi,
- natural input mode HOT 1
- Not working with Angular Material HOT 1
- Cannot find module 'ng2-currency-mask' or its corresponding type declarations in Angular 11
- Focus input with tab and prefix seted have diferent behavior
- "min" and "max" attributes cannot be set: Type 'string' is not assignable to type 'number'.ngtsc(2322) HOT 1
- How to make it accept whole number?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ng2-currency-mask.