0

i am using material ui for my project and this is my textField text field reality

as you can see there is an bottom border underline it, but i want to remove it completely, previously i usually use border: "0px" but i dont know how to customize it, this is what i want

text field expectation

thank for your time to help me out, highly appreciate your effort, hope you have a good day

you can edit in this codesandbox link: codesanboxlink

Tam Do
  • 181
  • 4
  • 15
  • 2
    Does this answer your question? [How can I remove the underline of TextField from Material-UI?](https://stackoverflow.com/questions/57914368/how-can-i-remove-the-underline-of-textfield-from-material-ui) – bertdida Sep 03 '20 at 07:32
  • thank you, but probably i will use inputbase instead – Tam Do Sep 03 '20 at 08:35
  • Sure! Don't forget to accept the [best answer](https://stackoverflow.com/help/someone-answers) :) – bertdida Sep 03 '20 at 08:36

1 Answers1

2

for this case you can import InputBase from material-ui

import InputBase from '@material-ui/core/InputBase';

you can see your example at codesandbox codesandboxlink

Dharman
  • 30,962
  • 25
  • 85
  • 135
Jan Fara
  • 71
  • 1
  • 2