2017-05-31 12 views
-1

サードパーティを使用しない純粋な角型/ Typescriptコードベースがありますか? FF & IE11に関する問題があります。 Chromeは問題なく値を読み取ることができますが、HTML5の入力日付を使用するとカレンダーが表示されません。HTML5入力タイプFFの日付 - 角度/ Typescriptを使用

答えて

0

polyfills.tsで次のインポートをコメント解除するか、shim.jsをインポートする必要があります。

/** IE9, IE10 and IE11 requires all of the following polyfills. **/ 
import 'core-js/es6/symbol'; 
import 'core-js/es6/object'; 
import 'core-js/es6/function'; 
import 'core-js/es6/parse-int'; 
import 'core-js/es6/parse-float'; 
import 'core-js/es6/number'; 
import 'core-js/es6/math'; 
import 'core-js/es6/string'; 
import 'core-js/es6/date'; 
import 'core-js/es6/array'; 
import 'core-js/es6/regexp'; 
import 'core-js/es6/map'; 
import 'core-js/es6/set'; 
+0

こんにちはPraneethは、問題になる可能性があります...何luck..evenがshims.jsがあまりにも含まれていない追加 –

+0

これを持っていました。 IE 11がインストールされていますが、デフォルトではバージョン9より小さくなる場合があります。https://stackoverflow.com/questions/22034924/how-to-set-ie11-document-mode-to-edge-as-default –

+0

これはindex.html