When using the remove function of any datepicker, the following error occurs:
datepicker.min.js:4 Uncaught (in promise) ReferenceError: prop is not defined
at Object.N [as remove] (datepicker.min.js:4)
However, declaring the prob variable within the datepicker.min.js file fixed this issue for me.
for(**let** prop in n.remove()
or in datepicker.js
for (**let** prop in this) delete this[prop].
Seems like somehow the prop variable was not declared.
When using the remove function of any datepicker, the following error occurs:
datepicker.min.js:4 Uncaught (in promise) ReferenceError: prop is not defined at Object.N [as remove] (datepicker.min.js:4)
However, declaring the prob variable within the datepicker.min.js file fixed this issue for me.
for(**let** prop in n.remove()
or in datepicker.jsfor (**let** prop in this) delete this[prop]
.Seems like somehow the prop variable was not declared.