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

Demo do not explain that FilledInput and OutlinedInput are needed instead of Input when you want Filled/Outlined textfields #12965

Closed
2 tasks done
Portals opened this issue Sep 22, 2018 · 1 comment
Assignees
Labels
docs Improvements or additions to the documentation

Comments

@Portals
Copy link

Portals commented Sep 22, 2018

  • This is not a v0.x issue.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Filled and outlined should work like it works on TextField with FormControl. FormControl api specifies that this prop should work.

Current Behavior

It doesn't. Codesandbox link below explains it pretty well.

Steps to Reproduce

https://codesandbox.io/s/nwl42ym41p

Your Environment

Tech Version
Material-UI v3.1.0
@oliviertassinari
Copy link
Member

There is a FilledInput and OutlinedInput for this use case. We should update the demos in the documentation.

@Portals Portals changed the title Filled and outlined do not work with FormControl Docs do not explain that FilledInput and OutlinedInput are needed instead of Input when you want Filled/Outlined textfields Sep 22, 2018
@Portals Portals changed the title Docs do not explain that FilledInput and OutlinedInput are needed instead of Input when you want Filled/Outlined textfields Demo do not explain that FilledInput and OutlinedInput are needed instead of Input when you want Filled/Outlined textfields Sep 22, 2018
@oliviertassinari oliviertassinari self-assigned this Sep 23, 2018
@oliviertassinari oliviertassinari added the docs Improvements or additions to the documentation label Sep 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

No branches or pull requests

2 participants