diff --git a/packages/ra-ui-materialui/src/input/ResettableTextField.js b/packages/ra-ui-materialui/src/input/ResettableTextField.js index a51da9e6d0d..389dd02548f 100644 --- a/packages/ra-ui-materialui/src/input/ResettableTextField.js +++ b/packages/ra-ui-materialui/src/input/ResettableTextField.js @@ -125,10 +125,18 @@ function ResettableTextField({ /> - {endAdornment} ) : ( - endAdornment + endAdornment || ( + + + + ) ), ...InputPropsWithoutEndAdornment, }}