Skip to content
This repository has been archived by the owner on Sep 24, 2018. It is now read-only.

ReferenceArrayField not setting setSort #11

Open
natrim opened this issue May 2, 2018 · 0 comments
Open

ReferenceArrayField not setting setSort #11

natrim opened this issue May 2, 2018 · 0 comments

Comments

@natrim
Copy link
Contributor

natrim commented May 2, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant