Comments (9)
Yeah you can do that!! here's a example:
<ion-item><ion-input type="tel" placeholder="WhatEverYouWantToShow"></ion-input></ion-item>
and you see that input type with "tel"
option, diference between "tel" and "number" its based on the character in the keyboard
here 2 Screenshot!!
PD. input number maybe show different in Os this is from Android Studio Simulator with Oreo 8.1 keyboard
PD2. Tested in both Os's
from cordova-plugin-ionic-keyboard.
Hi @wolfblazer ,
Thanks for reply. Yes, you're right. it display keyboard when we run app in emulator but not on device. So, I created a new plugin which solves this problem
https://github.com/bhanu7755/cordova-android-focus
from cordova-plugin-ionic-keyboard.
@bhanu7755 that's Weird 😞 Because on device i Still get the same Keyboard Tested on >4.4 Android and iOS >11.3
from cordova-plugin-ionic-keyboard.
@wolfblazer No idea mate.. I still see alpha numeric keyboard instead of number keyboard even though I use input type as "tel" or "number"
from cordova-plugin-ionic-keyboard.
perhaps this ticket should be redirected at adding the ability to explicitly specify the keyboard type to show...
for example, I have an interface where I need the user to enter an IP address, which is best with a numeric keypad (type="number"
), but actually needs a different type because it's got 4 sections separated by full stops.
don't you guys think a feature like this would solve both this issue's problem as well as my own?
from cordova-plugin-ionic-keyboard.
So this is a feature request to add types to Keyboard.show() method (or a new method), right?
If not I don't understand the problem, if you manually focus on an input, the keyboard is show based on its type.
from cordova-plugin-ionic-keyboard.
Yes.. I wrote a plugin to get my job done
https://github.com/bhanu7755/cordova-android-focus
from cordova-plugin-ionic-keyboard.
Based on that plugin description, it doesn’t seem to do what you were asking here or I didn’t understand it right.
from cordova-plugin-ionic-keyboard.
just to chime in here with my two cents' worth: I still feel that this would be best solved if we could specify which keyboard to open by rules on the ion-input
tag itself.
for example: <ion-input type="text" board-type="numeric"></ion-input>
would apply the type="text"
to the UI element it creates, while the keyboard that opens would show a numeric keypad.
with that said, I'm actually not sure if this would require any changes to this keyboard plugin directly though.. guess that depends on (a) where the ion-input
component (directive??) is defined and (b) whether cordova-plugin-ionic-keyboard
has a way for us to programmatically specify which keyboard interface we want to show.
from cordova-plugin-ionic-keyboard.
Related Issues (20)
- ScrollEnabled defaulting to `NO` is not documented
- iOS when keyboard shows up in dark mode it change color to gray HOT 9
- Screen is stucked, after keyboard is disappeare HOT 1
- Incorrect Height Value on some Android devices HOT 2
- Nullpointer: io.ionic.keyboard.CDVIonicKeyboard.onDestroy
- iOS - Hiding keyboard manually is not working properly HOT 1
- Whats the difference between the two iOS hide keyboard accessory bar options? HOT 1
- keyboard.isVisible is NOT detecting the visibility of the keyboard as it says in the doc
- facing weird (hide/show)issue with the keyboard in Cordova builds
- Events not firing when using floating keyboard
- Is this repo not maintained any more? HOT 4
- delay to show keyboard after invoking Element.focus()
- Interactive swipe to dismiss keyboard HOT 1
- Inline GIF Support from keyboards
- Random crash at what appears to be at startup.
- delay to show keyboard value but when change the focus is display value
- ERROR Error: Uncaught (in promise): Error: Type Keyboard does not have 'ɵmod' property. HOT 1
- 3rd Party Keyboards dont work with Ionic v5 app - SwiftKey HOT 1
- On iPhone devices screen is zoomed in and fails to resize back after user enters input
- [Android] go button doesn't close keyboard.
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 cordova-plugin-ionic-keyboard.