Skip to content

Commit

Permalink
Merge pull request #4138 from marmelab/fix-reference-array-input
Browse files Browse the repository at this point in the history
ReferenceArrayInput to pass parse and format
  • Loading branch information
djhi authored Dec 10, 2019
2 parents 838ceaf + 8e416b0 commit 93f653a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/ra-ui-materialui/src/input/ReferenceArrayInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ export const ReferenceArrayInput = ({
onChange,
onFocus,
validate,
parse,
format,
...props
}) => {
if (React.Children.count(children) !== 1) {
Expand All @@ -110,6 +112,8 @@ export const ReferenceArrayInput = ({
onFocus,
source: props.source,
validate,
parse,
format,
});

const controllerProps = useReferenceArrayInputController({
Expand Down

0 comments on commit 93f653a

Please sign in to comment.