Skip to content

Commit

Permalink
Merge pull request #4216 from SeanBE/master
Browse files Browse the repository at this point in the history
Fix remove props warnings in CheckboxGroupInput
  • Loading branch information
ThieryMichel authored Jan 3, 2020
2 parents 3f808f6 + e21c18d commit c307448
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/ra-ui-materialui/src/input/CheckboxGroupInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const sanitizeRestProps = ({
setFilter,
setPagination,
setSort,
loaded,
...rest
}: any) => defaultSanitizeRestProps(rest);

Expand Down Expand Up @@ -201,7 +202,7 @@ const CheckboxGroupInput: FunctionComponent<
};

CheckboxGroupInput.propTypes = {
choices: PropTypes.arrayOf(PropTypes.object).isRequired,
choices: PropTypes.arrayOf(PropTypes.object),
className: PropTypes.string,
label: PropTypes.string,
source: PropTypes.string,
Expand Down

0 comments on commit c307448

Please sign in to comment.