我正在使用Ionic 3和Angular 5并尝试使用如下:
<ion-input type="number"><ion-input>
所以它应该像这样反映:
但是当我使用上面的代码行时,它反映的是正常输入,并且只能在应用程序中看到向上和向下箭头但是当我创建了其他离子应用程序并使用完全相同的行时它的工作并不知道为什么。我正在使用的依赖项:
"@angular/common": "5.0.3",
"@angular/compiler": "5.0.3",
"@angular/compiler-cli": "5.0.3",
"@angular/core": "5.0.3",
"@angular/forms": "5.0.3",
"@angular/http": "5.0.3",
"@angular/platform-browser": "5.0.3",
"@angular/platform-browser-dynamic": "5.0.3",
"@ionic-native/core": "4.4.0",
"@ionic-native/date-picker": "^4.5.3",
"@ionic-native/splash-screen": "4.4.0",
"@ionic-native/sqlite": "^4.5.3",
"@ionic-native/status-bar": "4.4.0",
"@ionic/storage": "2.1.3",
"ionic-angular": "3.9.2",
"ionic-native": "^2.9.0",
任何人都可以建议我做什么?