I Never Want To Create Forms Any Other Way

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

КОМЕНТАРІ • 75

  • @Diego_Cabrera
    @Diego_Cabrera Рік тому +13

    Amazing video thank you so much. I was procrastinating building a multi-step form bc I thought it was too much hassle, but you have saved me 🙌

  • @KyXnline
    @KyXnline 10 місяців тому +1

    I'm completely new to pretty much all of this, but I love how you effectively explain every step so I can actually learn instead of just "know". Great job! c:

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

    This video is exactly what I was looking for. It deserves so much more recognition. Thank you!

  • @spiderbear3995
    @spiderbear3995 Рік тому +3

    Very thorough explanations my guy... thank you very much!

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

      Thank you! I'm glad you enjoyed the tutorial :)

  • @soon8098
    @soon8098 Рік тому +5

    thats so cool, ill definitely be using this for my project!

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

      :)) Glad that you found this helpful!

  • @superlistCG
    @superlistCG 11 місяців тому +1

    This is exactly what I was looking for. Great tutorial for building forms using React.

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

    Thanks for the great video Elliot. I like to follow along and do something before diving too deep into docs, and this was well paced & easy to follow. Love how you concisely explain the meaning of the various methods/variables and how they relate to each other, that's unfortunately uncommon. Keep up the good work.

  • @lex.tosounidis
    @lex.tosounidis 9 місяців тому +2

    Great video, thank you. But there is an issue, if any input is invalid then you have to click the "Next Step" button twice. The first time it triggers form validation but since the function is async, it does not wait and input state does not pass the check. Adding async to the button onClick event and await on the form.trigger() will solve the issue.

    • @siddhartha-555
      @siddhartha-555 7 місяців тому

      Hi Lex, have you found any method to show if password and confirm the password do not match as a form error ?

  • @dreamsachiever212
    @dreamsachiever212 8 місяців тому

    this video is so underrated! kudos to you. very well explained. thank you

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

    Awesome video, I love the fast pace style. I hate when videos spend so much time messing with the editor and writing code.

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

      LMAOO thank you! I'm glad you enjoy the fast pace that I go out :)

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

    shadcn is just too good haha. i was building out my project today and i am just thinking man, we gone long ways

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

      broo for real tho haha… i’ve been trying to find the perfect ui frameworks for years and shadcn just fulfilled everything i ever wished for 🤭

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

    You explained it really well. I see you spent time understanding every concept. Good job and thank you!

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

    With tRPC, you can infer the input and output of the procedures and you can use the same types for both server and client side validation. Great marriage between the two.

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

    Thank you! Your teaching is awesome.

  • @kartheekakella2757
    @kartheekakella2757 11 місяців тому +1

    Great Video Elliott!!! So clear and thorough in explanation... Thank you!

  • @haikalt.9279
    @haikalt.9279 8 місяців тому

    Amazing video, the best practice you implemented for toggle theme button is new to me. Cheers.

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

    this video saved me so much debugging time i was using the standart Select version instead off the form Select vesrion thanks bro

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

    This is an amazing video. I truly never want to make forms any other way.

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

    Great video. The pace is perfect - not too slow and covering all the details. Can you do a video that uses the app router and RSC ?

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

      Thank you! ua-cam.com/video/vIyU4nInlt0/v-deo.html I just created a full stack application using the app router and RSC

  • @user-vd3ph6zh8q
    @user-vd3ph6zh8q 6 місяців тому

    btw for the div you used to wrap the component that you put the min-h-screen on, you could just add grid and place content center and it would do the same, wouldnt need the div with the absolute position and translations

  • @staticwasabi
    @staticwasabi 8 місяців тому

    Thanks for this, it's easy to understand and follow along. Your explanations were very clear!

  • @yasserhy
    @yasserhy 10 місяців тому

    Thank you so much for this amazing video! I will be using this in my project :)

  • @mnchabel8402
    @mnchabel8402 10 місяців тому

    Such a beautiful tutorial

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

    Wow this is actually so good.
    Got to know something new today😮
    Thanks mate good video

  • @yasserhy
    @yasserhy 10 місяців тому

    I think also for the Confirm Password, you can use Refine to do this check and show the error on the control instead of using the Toast.

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

    amazing!

  • @teetanrobotics5363
    @teetanrobotics5363 8 місяців тому

    Amazing content. However, i think the tailwind and framer motion part could have been a lot more cleaner.

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

    Nice video. Got to learn something new.

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

    Awesome bro

  • @cjstronger
    @cjstronger 2 місяці тому

    Was looking for a way to keep the state of inputs over re-render. Conditional rendering css is so much easier

  • @napalmqero2689
    @napalmqero2689 3 місяці тому +1

    Hello thank you for this tutorial. It was so usefull for me. Can you tell me please, what the extension you are using that suggests you commands to write this gray color hints that popup when you are starting to type something. I will be so gratefull if you tell me 🔥🔥🔥

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

    Great video man, it's not yum but yup 24:46

  • @MiladJoodi
    @MiladJoodi 4 місяці тому

    Great ♥ Thanks so mush.

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

    Buen video bro

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

    多謝!

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

    Awesome dude!

  • @indimerz
    @indimerz 2 місяці тому

    when we go to second step, the fields already shows validation error messages, which is not good. how can we fix that??

  • @yasserhy
    @yasserhy 10 місяців тому

    I think to center the form on the screen, it is better to just use className="h-screen flex items-center justify-center"

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

    谢谢!

  • @user-tk3cd1ly7o
    @user-tk3cd1ly7o 10 місяців тому

    Amazing job, but i have a little question, how to define such a form by seperating several form components? Like personal informaiton, education, work experience, i want to do it in several modules.

  • @dearfrankg
    @dearfrankg 10 місяців тому

    Check what happens when you tab through the fields

  • @siddhartha-555
    @siddhartha-555 7 місяців тому

    Hi Elliott, is there any way to show a form error instead of toast if the password and confirm the password do not match?

  • @pedroleal3771
    @pedroleal3771 10 місяців тому

    How did u put the placeholder in select?

  • @tnnz9920
    @tnnz9920 7 місяців тому

    Have u try action for form? Its good?

  • @mysoulfulechoes
    @mysoulfulechoes 8 місяців тому

    Hey Mr. CHONG, can you build a production grade authentication nextjs project capable of handling up to 15million active users?

  • @Shubham-yc6nz
    @Shubham-yc6nz Рік тому +1

    Hey is the app router good for building production applications for client

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

      hey, I just made a tutorial using the nextjs13's app router for a full stack production application ua-cam.com/video/vIyU4nInlt0/v-deo.html
      in my opinion there are still some integrations that needs to be added for the app router to be production ready. Right now there are still a lot of missing documentation and not much integrated libraries that supports the app router. Give it a few more months and I'm sure everything will be ironed out! :)

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

    How can we avoid triggering validation for the second step (passwords) when clicking next step with an invalid input on the first step? You can see that when you for example don't enter the email and then click next step, the passwords validation also fires. Besides that, great video!

    • @aibattle-tj7yd
      @aibattle-tj7yd 11 місяців тому

      onClick={async () => {
      const isValid = await form.trigger("name");
      if (!isValid) return;
      setFormStep(1);
      }}

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

    what is your font?

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

    I wonder how would you do 3 steps?

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

      hmm good point, right now it's being hard coded to only 2 steps. If I were to design a 3 step form I would probably create a Higher Order Component to make it more dynamic...

  • @user-fz3iy7ju8c
    @user-fz3iy7ju8c 11 місяців тому

    name font vscode , bro ?

  • @M1a2n3o43
    @M1a2n3o43 Рік тому +3

    Shadcn is not working for me. I can install it fine but if i use/install more then 4 5 shadcn components at a single page my react app crashes. Idk its wierd 😅

  • @user-tq5wk9ib8q
    @user-tq5wk9ib8q Рік тому

    What is the font family?

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

      I believe it's Inter, you can find it on google fonts

    • @user-tq5wk9ib8q
      @user-tq5wk9ib8q Рік тому

      @@elliottchong Sorry, I was not clear. I wanted to know the font that you are using in your VSCode.

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

      @@user-tq5wk9ib8qit’s “Space Mono”

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

    Nice vídeo, but try to talk in -3x speed

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

    Try Mantine UI and then thank me later.