Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add endAdornment to input #5

Open
spiotrowska opened this issue Nov 2, 2019 · 1 comment
Open

Add endAdornment to input #5

spiotrowska opened this issue Nov 2, 2019 · 1 comment

Comments

@spiotrowska
Copy link

spiotrowska commented Nov 2, 2019

Input loses value and autosuggest doesn't work, when I add endAdornment.
My inputTextFieldProps:

inputTextFieldProps={{
variant: 'outlined',
classes: {
root: classes.textField
},
label: "Z",
InputProps: {
endAdornment: <InputAdornment position="end">
<SearchIcon color="action" />
</InputAdornment>
}
}}

I think InputProps are overwritten and loses ref.
Can anyone help how add endAdornment?

@pcwa-ahendricks
Copy link
Collaborator

@spiotrowska Is there a repository I could clone that would allow me to reproduce this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants