Skip to content

Commit

Permalink
Merge pull request #3904 from WiXSL/patch-resettable-classes-warning
Browse files Browse the repository at this point in the history
Class throw error in ResettableTextField.
  • Loading branch information
djhi authored Oct 30, 2019
2 parents 9319c00 + 399e11c commit 1cbf334
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/ra-ui-materialui/src/input/ResettableTextField.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ function ResettableTextField({
const {
clearButton,
clearIcon,
selectAdornment,
visibleClearButton,
visibleClearIcon,
...restClasses
Expand All @@ -93,7 +94,7 @@ function ResettableTextField({
<InputAdornment
position="end"
classes={{
root: props.select ? classes.selectAdornment : null,
root: props.select ? selectAdornment : null,
}}
>
<IconButton
Expand Down

0 comments on commit 1cbf334

Please sign in to comment.