Material UI -TextField

preview_player
Показать описание
TextFields to save the day!

Don't forget to Sub! :-)

You need a react application for this video:
npx create-react-app [your-app-name-here]

You also need to install Material UI:
npm install @material-ui/core @material-ui/icons

"react": "^16.13.1"
"react-dom": "^16.13.1"

Feel free to leave questions or requests.
Рекомендации по теме
Комментарии
Автор

How can i change the color of the textfield from blue to any other color?

jumb_
Автор

This tutorial is great, but there's something that's bothered me so much. In the type number you can actualy type the letter e. How can I resolve that? And another thing that is really anoying is that in the type number, I can't restringe to just accept the positive numbers. The range isn't great.

vferreira
Автор

can i add to the textfield component the clear button as have the autocomplete component?

romanmed
Автор

Good stuff! Subbed!
You have a good handle on InputProps. I am struggling with it, what part of docs you are looking at? I couldn't figure out how to change the border color on outline variation of textfield.

Kexperience