marmelab/admin-on-rest

ReferenceArrayField not setting setSort

natrim opened this issue · 0 comments

try example from doc: https://marmelab.com/admin-on-rest/Fields.html#referencearrayfield

the one with datagrid

when you click on column header you get
Uncaught TypeError: _this.props.setSort is not a function

ie. ReferenceArrayField is not setting setSort

ReferenceArrayField needs to support sort
or add checks in DataGrid to stop sorting if no setSort set