MIGX
MIGX copied to clipboard
clicking add item opens a blank page
If I click on "add item" I am getting a blank browser document. The modal window is no longer working. Already tested different browsers.
MODX Revolution 2.4.0-pl MIGX 2.9.0-pl
I am not sure if updating migx will break anything on live site. Already cleared cache, etc.
what are your MIGX - configs?
Form tabs:
[ {"caption":"Title and Link", "fields": [ {"field":"title","caption":"Title"}, {"field":"link","caption":"Link"}, {"field":"description","caption":"Description","inputTVtype":"textarea"} ]}, {"caption":"Image", "fields":[
Grid columns:
[ {"header": "Title", "width": "160", "sortable": "true", "dataIndex": "title"}, {"header": "Image", "width": "50", "sortable": "false", "dataIndex": "image","renderer": "this.renderImage"}, {"header": "Link", "width": "100", "sortable": "true", "dataIndex": "link"}, {"header": "Description", "width": "300", "sortable": "true", "dataIndex": "description"} ]
this looks not complete:
[ {"caption":"Title and Link", "fields": [ {"field":"title","caption":"Title"}, {"field":"link","caption":"Link"}, {"field":"description","caption":"Description","inputTVtype":"textarea"} ]}, {"caption":"Image", "fields":[
Bruno, It does not look complete, because I copied it wrong. The current form TABS validates well on json lint.
When I click on add item I get a new page with this: https://www.dropbox.com/s/7ymi83hlna7xeyb/Screenshot%202017-06-26%2016.53.41.png?dl=0
would you like to show me your complete formtabs?
Most likely you have an extra comma where one shouldn't be, or you're missing one. An additional trailing comma on the last item is usually my culprit.
Also having the same issue, the grid renders, but with blank values, the 'Add Item' interface is blank, but allows saving new records.
PHP 7.1 - 7.0 MODX 2.5.8 MIGX 2.11.0