Skip to content

Commit

Permalink
options precede on displayNull
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienMattiussi committed Jan 28, 2020
1 parent 582e28a commit b7b065d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/ra-ui-materialui/src/input/NullableBooleanInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ const NullableBooleanInput: FunctionComponent<
? {
...options,
SelectProps: {
...(options && options.SelectProps),
displayEmpty: true,
...(options && options.SelectProps),
},
InputLabelProps: {
...(options && options.InputLabelProps),
shrink: true,
...(options && options.InputLabelProps),
},
}
: { ...options };
: options;

return (
<TextField
Expand Down

0 comments on commit b7b065d

Please sign in to comment.