我正在尝试使用有角度的flatpickr。
但是,出现以下错误:
Settings.Default.SavedCharacters = foo;
这是我的目录树,如下所示:
index.html
flatpickrInstance is not defined
calculator.js
<script src="client/calculator.js"></script>
<script src="../client/node_modules/angular-flatpickr/dist/ng-flatpickr.js"></script>
...
<!--div ng-repeat="date in dates"-->
<input
ng-flatpickr
fp-opts="dateOpts"
fp-on-setup="datePostSetup(fpItem)"
ng-model="date.selectedDateObj"
data-no-calendar="true"
data-enabletime="true">
<!--/div-->
但是,它显示了错误
flatpickrInstance未定义。