Cannot read property 'set' of undefined
Aperta
- Lingua principale
- JavaScript
- Stelle
- 7.6k
- Fork
- 981
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
I'm trying to edit the min value of an existing picker on my page. I'm using
```
$('#FromDate').pickadate('picker').set('min', true);
$('#ToDate').pickadate('picker').set('min',true);
```
When putting the code in my document.ready I get the following error
**Cannot read property 'set' of undefined**
Placing the code in an $(window).on('load', function ()) works, but then the changes are not always applied to the datepicker Q.Q.
What am I missing here?
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.