You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The renaming has already be done. But we need to remove deprecated props.
The original issue is motivated by the confusion introduced by two similar names (sort in <Datagrid> and sort in <DatagridHeaderCell>) containing different content. The first one contains an object { field: 'id', order: 'ASC' } named sort and the second one { sort: 'id', order: 'ASC' }.
Describe the solution you'd like
Remove sort in favor to field in the <DatagridHeaderCell>.
Follows issue #5059 and PR #5094
Is your feature request related to a problem? Please describe.
The renaming has already be done. But we need to remove deprecated props.
The original issue is motivated by the confusion introduced by two similar names (
sort
in<Datagrid>
andsort
in<DatagridHeaderCell>
) containing different content. The first one contains an object{ field: 'id', order: 'ASC' }
named sort and the second one{ sort: 'id', order: 'ASC' }
.Describe the solution you'd like
Remove
sort
in favor tofield
in the<DatagridHeaderCell>
.Files concerned:
packages/ra-ui-materialui/src/list/DatagridHeaderCell.js
(line 64)The text was updated successfully, but these errors were encountered: