0
我有一個簡單的離子v1應用程序示例,其中包含input
類型的日期。我的代碼是:Ionic v1 type =「date」
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<link href="https://code.ionicframework.com/nightly/css/ionic.css" rel="stylesheet">
<script src="https://code.ionicframework.com/nightly/js/ionic.bundle.js"></script>
</head>
<body ng-app="app">
<ion-pane>
<ion-header-bar class="bar-stable">
<h1 class="title">Awesome App</h1>
</ion-header-bar>
<ion-content class="padding">
<input type="date">
</ion-content>
</ion-pane>
</body>
</html>
並鏈接上面的代碼是here
問題是要顯示日曆選擇器。 如果我會把
<input type="date">
在jsfiddle,日曆選擇器工作正常,作爲一個普通的HTML標籤。
Chrome版本:版本59.0.3071.115(正式版本)(64位)
離子的例子在微軟邊緣工作正常。 Firefox和IE無法正常工作。
有人知道如何顯示Ionic v1的日曆選取器嗎?