React Material UI Tutorial - 7 - Text Field

Поділитися
Вставка
  • Опубліковано 6 лис 2024

КОМЕНТАРІ • 43

  • @KeyPairKarma
    @KeyPairKarma 2 роки тому +20

    I just started learning react. This is by far the best set of tutorials for MUI I’ve found that I entirely understand. Thanks!

  • @ojalafsenior4757
    @ojalafsenior4757 Рік тому +1

    Well, I got the visibility Icon done. You teaching style is so intuitive and makes learning very enjoyable. You are heaven sent.

  • @lazyhacker8288
    @lazyhacker8288 2 роки тому +22

    For password visibility on and off
    const [viewer, setViewer] = useState(false);
    const handleVisibility = () => {
    setViewer((prev) => !prev);
    };

    • @engkunasya
      @engkunasya Рік тому

      Thanks lazy genius

    • @LinuxForLife
      @LinuxForLife Рік тому +1

      Do NOT forget to import:
      import VisibilityIcon from "@mui/icons-material/Visibility";
      import VisibilityOffIcon from "@mui/icons-material/VisibilityOff";
      😉

    • @santiagoleklere6103
      @santiagoleklere6103 11 місяців тому

      Thanks! I had to use the icons in the most recent way and i went on and implemented IconButton for a slight better look.

  • @JM-st1le
    @JM-st1le 2 роки тому +7

    Thank you for making these well organized tutorials.

  • @PixelTB
    @PixelTB 2 роки тому

    I started this course today, and I am amazed. I like your teaching style, especially because you give examples of how these components could be used in a real world application. Thank you so much!

  • @andresbeltran5245
    @andresbeltran5245 2 роки тому

    Visibility exercise: I was able to complete it with useState, returning a boolean for the password prop. Thank you, I learned a lot doing it.

  • @dsacppracticequestion1123
    @dsacppracticequestion1123 Рік тому

    I have successfully implemented password visibility toggler. Thanks for all valuable content that you provided us.

  • @rastapoile
    @rastapoile 2 роки тому +2

    Dude all of your videos are awesome and very well explained. You're helping me a lot thank you so much !

  • @surij8376
    @surij8376 2 роки тому

    Can't thank you enough for creating this tutorial. MUI has always been hard to learn for me. This tutorial makes it easier.

  • @milindvlogs
    @milindvlogs Рік тому

    great resource to learn MUI, and yes was able to use the icon as an end adornment for the password field.

  • @Betty4web
    @Betty4web Рік тому

    I was able to get the password visibility done . Thanks for the tutorial 😊

  • @coffee80119
    @coffee80119 2 роки тому

    Thanks had problems using the InputAdorment, now it works, even with the icon! Thanks

  • @ytpeerz
    @ytpeerz Рік тому

    Struggled a bit to get the toggle visibility function working, but ended up getting it to work

  • @DanielRodrigues-bx6lr
    @DanielRodrigues-bx6lr Рік тому

    So many helpful tips in one video, thanks!

  • @VijayTamada
    @VijayTamada Рік тому

    Awesome series!! BTW what is vs code theme name used in this video?

  • @avijitdam1998
    @avijitdam1998 Рік тому +2

    import React, { useState } from 'react';
    import { Stack, TextField, InputAdornment, IconButton } from '@mui/material';
    import Visibility from '@mui/icons-material/Visibility';
    import VisibilityOff from '@mui/icons-material/VisibilityOff';
    const MuiTextField = () => {
    const [showPassword, setShowPassword] = useState(false);
    const handleShowPassword = () => {
    setShowPassword(!showPassword);
    };
    return (


















    );
    };
    export default MuiTextField;

  • @kumuduwijewardhana9879
    @kumuduwijewardhana9879 2 роки тому

    This playlist is very useful. Thank you so much!❤

  • @ithisrinu9593
    @ithisrinu9593 2 роки тому +1

    awsome explaining

  • @pranjalgogoigaming-1209
    @pranjalgogoigaming-1209 11 місяців тому

    Nice explanation

  • @MohamedAshraf-wh8ig
    @MohamedAshraf-wh8ig 17 днів тому

    when i do rtl for text field label still in dir ltr why that i give this value for layout for full website

  • @xiaotingshao3689
    @xiaotingshao3689 Рік тому

    I did the exercise and use visible and invisible icons together to toggle the password render

  • @royjincalipayan1760
    @royjincalipayan1760 Рік тому

    is the Textfield default position is absolute ?

  • @JSSpeaks
    @JSSpeaks 2 роки тому

    Awesome Job & Well Explained Sir!🤗

  • @sokealy5003
    @sokealy5003 2 роки тому +1

    how to separate label from input? label on top or left input as normal textbox.

  • @umergillani5046
    @umergillani5046 2 роки тому +1

    Please make a playlist on MERN STACK project from scratch

  • @amitbhattacharya356
    @amitbhattacharya356 6 місяців тому

    How to prevent the error in TextField on page load?

  • @pavan305
    @pavan305 9 місяців тому

    Coolest one!

  • @papa_ethan
    @papa_ethan 5 місяців тому

    Adornment does not work now. Please confirm this.

  • @mrrishiraj88
    @mrrishiraj88 2 роки тому +1

    Thanks

  • @sangram597
    @sangram597 9 місяців тому

    Thanks sir

  • @caninelover
    @caninelover Рік тому

    thank you so much

  • @rohithsinghthakur968
    @rohithsinghthakur968 Рік тому

  • @whateverzdred
    @whateverzdred Рік тому

    I did the password exercise, here's the code:
    import VisibilityOutlinedIcon from '@mui/icons-material/VisibilityOutlined'
    import { useState } from 'react'
    const MuiTextFIeld = () = {
    const [passwordType, setPasswordType] = useState('password')
    const handleClick = () => {
    if (passwordType === 'password') {
    setPasswordType('text')
    } else {
    setPasswordType('password')
    }
    }
    return (
    )
    }
    export default MuiTextField

  • @sxp6200
    @sxp6200 2 роки тому

    Is there a way to customize the text field component so that inputs look like conventional input fields? i.e. label above text field, flush left.

    • @alexjones420
      @alexjones420 2 роки тому

      There are other input components you could use. Check out the OutlinedInput component.

  • @taufiquechaudhary7112
    @taufiquechaudhary7112 6 місяців тому

  • @crashcoding6667
    @crashcoding6667 Рік тому

    Done!

  • @Arnip_Italiya
    @Arnip_Italiya 2 роки тому

    import CurrencyRupeeIcon from '@mui/icons-material/CurrencyRupee';
    then tag replace with $