2017-07-06 34 views
-1

我正在使用Rajeshwar Patlolla datepicker,並且disabledDates屬性接收日期數組()。將數組設置爲對象屬性JavaScript

我可以將數組設置爲對象屬性嗎?事情是這樣的: enter image description here

$ scope.datasFormatoCorreto有日期,我從一個JSON得到的數組: enter image description here

+0

是的,你有沒有嘗試'disabledDates:$ scope.datasFormatoCorreto',除非我誤解你的問題。 – Damon

回答

0

這是一個愚蠢的錯誤....

達蒙說,disabledDates :$ scope.datasFormatoCorreto它是正確的。我試圖禁用日期:[ $ scope.datasFormatoCorreto **] **

謝謝,達蒙!

相關問題