Yii2 Datecontrol - Date And Time Not Being Saved

I am using the yii2-grid with the date and time controls and when the edit form is loaded, or on change of the date and time fields, the callindex.php?r=datecontrol%2Fparse%2Fconvert gives an error: Bad Request (#400): Unable to verify your data submission.

Any ideas as to why?

You can post your issues in the extension project page. This is related to this issue.

There is been some major change to the Yii2 core framework itself on automatic CSRF meta tag generation. This feature has been removed from View class for Yii 2.

You need to NOW add the following to your view layout files head section (that should resolve your issue):




<?= Html::csrfMetaTags() ?>