mrchandoo / cordova-plugin-decimal-keyboard

Cordova plugin to show decimal keyboard on iPhones
Apache License 2.0
37 stars 71 forks source link

Support for Ionic 3 #3

Open rupalpatel0008 opened 7 years ago

rupalpatel0008 commented 7 years ago

Hi, I am trying to use this plugin in my ionic project but I am not able to install it via git or npm. I am getting this error:

Error: Failed to fetch plugin https://github.com/mrchandoo/cordova-plugin-decimal-keyboard.git via registry. Probably this is either a connection problem, or plugin spec is incorrect. Check your connection and plugin name/version/URL. Error: npm: Command failed with exit code 235 Error output: npm ERR! addLocal Could not install /var/folders/zh/5d6k2ws56577nmhglzlqvlcm0000gr/T/npm-14120-349e849e/git-cache-242c921f/3a87e5935437fba77b260b6a1946a8392eea830d npm ERR! Darwin 16.4.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "https://github.com/mrchandoo/cordova-plugin-decimal-keyboard.git" "--save" npm ERR! node v7.2.0 npm ERR! npm v4.1.2 npm ERR! code EISDIR npm ERR! errno -21 npm ERR! syscall read

npm ERR! eisdir EISDIR: illegal operation on a directory, read npm ERR! eisdir This is most likely not a problem with npm itself npm ERR! eisdir and is related to npm not being able to find a package.json in npm ERR! eisdir a package you are trying to install.

kaiukdevelopment commented 7 years ago

+1

zbarbuto commented 7 years ago

Install directly from cordova:

cordova plugin add cordova-plugin-decimal-keyboard --save

mrchandoo commented 7 years ago

cordova plugin add cordova-plugin-decimal-keyboard --save This doesnt support Android and also the images on the cordova plugin doesnt show up, can you please clean it if you are publishing on plugins site ?

zbarbuto commented 7 years ago

I didn't publish it. I just found it there today whilst trying to fix the same issue the OP was having.

Suggest you contact the person that published it: https://www.npmjs.com/~saquib777

mrchandoo commented 7 years ago

ok thanks @zbarbuto

jegodard commented 5 years ago

Hi, I have the same issue with ionic. Do you know an alternative to have a numeric keyboard with decimal?

Ratnadeep31 commented 5 years ago

Even after installing cordova plugin add cordova-plugin-decimal-keyboard --save library I am unable to get decimal point symbol on the number pad after using decimal=true attribute in input html tag. Can anyone please help me out how to use this library? Doesn't this works with ion-input tag in ionic 3?

mrchandoo commented 5 years ago

@Ratnadeep31 ion-input is a ionic directive/component, i havent tested the same with that, see the example, it uses plain html control, try to do the same it should work you

kirtipriya commented 5 years ago

the app crashes when i click on the input (ionic 3 app) in ios

midhunadarvin commented 5 years ago

Does anybody have a solution for Ionic 3. It crashes on input click and the decimal point doesn't show up.