DatePicker in FormGrid loaded through $.get doesn't work

Web Tips Q & ACategory: Krajee Yii2 ExtensionsDatePicker in FormGrid loaded through $.get doesn't work
paulverheul asked 2 years ago

When loading a form-template (FormGrid) through renderAjax and feeding that to the page via $.get, I get the error “VM50800:4 Uncaught TypeError: Cannot set property ‘dates’ of undefined”. I read somewhere to ‘reload the assets’. How do I go about that and would that solve this problem?

Login or register to contribute or comment.

Login   Register