React Native Tutorial #5 - Text Inputs

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ต.ค. 2024

ความคิดเห็น • 95

  • @georgestone8099
    @georgestone8099 3 ปีที่แล้ว +33

    Dude, this is an absolutely great series. Thank you.

  • @jovepublico
    @jovepublico 4 ปีที่แล้ว +2

    Thank you so much, I learned so many things from you. You help many aspiring programmer especially for a beginner like me😊💕

  • @theodorn
    @theodorn 3 ปีที่แล้ว +2

    Great tutorials, clear and concise. You're the man.

  • @MarcosGomes-np1ke
    @MarcosGomes-np1ke 4 ปีที่แล้ว +16

    Thank u! 🇧🇷
    You no have idea how much help me!

  • @muhammadsaadullah2910
    @muhammadsaadullah2910 4 ปีที่แล้ว +1

    okay i dont really comment on vides on youtube but man this one is gold

    • @NetNinja
      @NetNinja  4 ปีที่แล้ว

      Thank you :)

  • @H_Elnaka
    @H_Elnaka 4 ปีที่แล้ว +11

    I appreciate your videos, thank you.. explanation is so clear and from scratch

  • @javidiazagudo1193
    @javidiazagudo1193 2 ปีที่แล้ว

    Amazing tutorials Shaun, my congrats!🔥

  • @aditig2557
    @aditig2557 3 ปีที่แล้ว

    Very good explanation. Thankyou

  • @ofentsedifeto2937
    @ofentsedifeto2937 2 ปีที่แล้ว

    you are a legend

  • @codewithroman8180
    @codewithroman8180 2 ปีที่แล้ว

    Hey ninga bro good tutorial

  • @karoche-tv
    @karoche-tv 2 ปีที่แล้ว

    hello, how can i store in textinput from another component. when you click on the input, redirect to another component and from there get the variable from the state?

  • @yuomtheara
    @yuomtheara 4 ปีที่แล้ว +1

    Thanks U
    Could use form state as object? and how to setForm change?
    >

  • @alpishjain1317
    @alpishjain1317 3 ปีที่แล้ว +3

    i did flutter playlist from this channel and i was so happy to find the react native playlist on the same channel...This is great!😊😊Thank you for your efforts.

    • @NetNinja
      @NetNinja  3 ปีที่แล้ว

      Glad you like them!

  • @daboren1547
    @daboren1547 3 ปีที่แล้ว +2

    Great Tutorial Ninja. Better than any React-Native tutorials I knew so far. Can you please update the Ansync Storage part for React-Native? Thanks Gang!

  • @bbrriixxiiee
    @bbrriixxiiee 3 ปีที่แล้ว

    hey i want my textinput box to be cleared after i enter a text. anyone knows how to do it?

  • @MS-nh7zj
    @MS-nh7zj 4 ปีที่แล้ว +3

    Please make an e commerce application on React Native !

  • @santiagozito1212
    @santiagozito1212 4 ปีที่แล้ว +3

    Nice content, thank you for the help

  • @prafulrane3591
    @prafulrane3591 ปีที่แล้ว

    What should I do next
    Can you make a pathway video to know how should we follow your playlist from your channel for every technology covered on your channel?

  • @hikolanikola8775
    @hikolanikola8775 10 หลายเดือนก่อน

    shiiiit, so many events swo many objects, if you return just a target of that components you get object from hell.......

  • @黃意軒-m4o
    @黃意軒-m4o 4 ปีที่แล้ว +2

    Brother, really taught well and helped me a lot, thank you

  • @whoami2389
    @whoami2389 2 ปีที่แล้ว

    i like how he say update

  • @rodolfocabralneves8279
    @rodolfocabralneves8279 2 ปีที่แล้ว +1

    THE INTERNET NINJA

    • @NetNinja
      @NetNinja  2 ปีที่แล้ว

      Wow, thank you! :)

  • @NickSoong
    @NickSoong 3 ปีที่แล้ว

    I know that setState is asynchronous. Therefore, the console.log won’t print out the updated value. How do you fix that?

  • @hacdoc
    @hacdoc 3 ปีที่แล้ว

    can we directly use onChangeText={setName} insted of doing onChangeText={(val) => setName(val)} because theu both giving the same result is there any demirits of using first one? Thank you
    great tutorial :)

  • @vishwakrantisuryawanshi5594
    @vishwakrantisuryawanshi5594 ปีที่แล้ว +1

    Awesome Job...Thank You for this useful tutorial!

    • @NetNinja
      @NetNinja  ปีที่แล้ว +1

      Glad it was helpful! :)

  • @LoLProfessional
    @LoLProfessional 3 ปีที่แล้ว

    Thats avesome teaching. Really enjoyed when I listen. But how could I contact with you ? @TheNetNinja

  • @codex8797
    @codex8797 3 ปีที่แล้ว

    Thank you so mucj man! Your tutorial was the only one that worked for me. +1 sub

  • @pascalbouillon1713
    @pascalbouillon1713 ปีที่แล้ว +1

    why can you add styles too TextINput but not to Button?

  • @mayursarode1
    @mayursarode1 4 ปีที่แล้ว

    Very nice explanation, but I have query, while using TextInput with keyboradType='numeric' after onChangeText where the state value changes, I want to show in the TextInput field only, for that I had put the props as value={text}, but after that whenever I insert number into it, it shows error:
    Warning: Failed prop type: Invalid prop `value` of type `object` supplied to `ForwardRef(TextInput)`, expected `string`.
    As per it states that the value should be of string type, I had also tried some online solution on it like setting value={String(text)} which will give output as [object][object]1... like this,
    Please help to resolve this issue?
    Thank you.

  • @aryamnair4561
    @aryamnair4561 2 ปีที่แล้ว

    Sir how we can transfer usestate one page to another page??

  • @devmatt1921
    @devmatt1921 3 ปีที่แล้ว

    How can i take value of all inputs by clicking button? I have 3 inputs and always when i click button its taking only 1 value and need to click multiple times to get good result.

  • @snalrus
    @snalrus 4 ปีที่แล้ว +2

    what if i want to call the input in another function?

    • @adilmalik1232
      @adilmalik1232 4 ปีที่แล้ว +1

      brother if you are asking that how to take the textInput output in outer function then please check the code below.i hope it helps you or any other in future
      for textInput:
      now above return and below const App add this:
      const textChangedHandler = (value) => {
      setName(value);
      }
      it will hopefully do the job.

  • @mvosantos
    @mvosantos 4 ปีที่แล้ว

    I've tried tabbing through Inputs by using returnKeyType={"next"}...it doesn't work. Could you explain how can do it?

  • @majidmoradi5952
    @majidmoradi5952 3 ปีที่แล้ว

    I learn react from your channel, I have question :
    in inputs, why did use onChange instead define button and when click on button the whole changes is done?

  • @steven7936
    @steven7936 2 ปีที่แล้ว +1

    Thank you , i love how this video gets straight to the point and teaches you what you need to learn.

  • @crystalcrys685
    @crystalcrys685 3 ปีที่แล้ว

    Hihi! I actually just started your lessons and had been great so far! However, I face the issue where I can input anything into my emulator. Though our code is the same, mine does not allow me to type anything. It seem more like a "picture" instead. May I know how I should resolve this?

  • @ayush7805
    @ayush7805 4 ปีที่แล้ว

    Very Nice Videos Man !!
    can you please tell me how to get rid of eslint(prettier/prettier) errors, those make no sense mostly and I have noticed that there are no such errors while you code

  • @ggnerd9546
    @ggnerd9546 3 ปีที่แล้ว

    Very nice! I´m Brazilian and folow you!

  • @stocktrade9655
    @stocktrade9655 4 ปีที่แล้ว +2

    Here it is !!!

  • @PizzaInGame
    @PizzaInGame 3 ปีที่แล้ว

    nice video, but how to get value from textInput when i press the button ?

  • @mahalakshmik.6192
    @mahalakshmik.6192 4 ปีที่แล้ว

    brother .. How to move from one textinput to another textinput using keyboard?

  • @bao8212
    @bao8212 2 ปีที่แล้ว

    thank you so much bro, you save my day

  • @nuniezjorge
    @nuniezjorge 3 ปีที่แล้ว

    how to clear the input after submit?, there is no name.Text = "" here

  • @shabastech
    @shabastech ปีที่แล้ว

    how do i like 👍 this video 100 times ?🤔 7:53

  • @mog7501
    @mog7501 4 ปีที่แล้ว

    Link for more props for Text Inputs
    reactnative.dev/docs/textinput

  • @Kamusatuu
    @Kamusatuu 3 ปีที่แล้ว

    how about if i want to change the name and age using onPress button?

  • @ajayraja6636
    @ajayraja6636 3 ปีที่แล้ว

    Which extension you're using for react native snippets??

  • @phuongdasen1037
    @phuongdasen1037 2 ปีที่แล้ว

    Thanks a lot for your wonderful teaching videos!

  • @rajasaviola85
    @rajasaviola85 2 ปีที่แล้ว

    Thank you so much for the explanation and tutorial

  • @aleksadacic
    @aleksadacic 4 ปีที่แล้ว +1

    You didn't add the link in the description for textinput props

    • @waleedrafique251
      @waleedrafique251 4 ปีที่แล้ว

      facebook.github.io/react-native/docs/textinput

  • @AshwaniSharma-vg5xm
    @AshwaniSharma-vg5xm 3 ปีที่แล้ว

    This is really what I am looking for... Great efforts.

  • @osamaadil4175
    @osamaadil4175 2 ปีที่แล้ว

    Paper starts at 2:20 and I’m here at 2:15, awesome video mate❤️

  • @echan8936
    @echan8936 2 ปีที่แล้ว

    good contentt

  • @HuyenThanh-rt7tp
    @HuyenThanh-rt7tp 3 ปีที่แล้ว

    Your video help me a lot. Thank you

  • @tommr1196
    @tommr1196 3 ปีที่แล้ว

    Very nice, I thank you very much❤️❤️❤️❤️❤️❤️❤️❤️

  • @anantv10
    @anantv10 4 ปีที่แล้ว +2

    Hello brother, I need to ask you one thing Like wise I have a registration screen where multiple Text Input is placed I want to move to next text input from my keyboard only and on last text input the keybord says done

    • @shr1han
      @shr1han 4 ปีที่แล้ว

      You can do this:
      { this.secondTextInput.focus(); }} blurOnSubmit={false} /> { this.secondTextInput = input; }} placeholder="secondTextInput" />
      What we're doing is, we first set the return key type of the first input to next. This will make the Tick to say Next. In the second input, we're adding a reference to the input by using this.secondTextInput = input, where input is the second text input which ia a param passed to the ref prop value function. Then, we're binding an onSubmitEditing handler. What it means is, "whenever you press the return key (which, in our case, is the Next key), make the second text input focus. That's why we added a ref prop to get the reference to the second input
      The ref prop is Global to all components, and is useful in these cases

  • @rohitbabar9244
    @rohitbabar9244 3 ปีที่แล้ว

    cut / paste events???

  • @rajeevbhosle1580
    @rajeevbhosle1580 3 ปีที่แล้ว

    you are awesome.

  • @VishalMadhav
    @VishalMadhav 3 ปีที่แล้ว

    Hello. I seem to be having a small issue with the tutorial, specifically at 2:41. The Expo App on the Android Emulator seems to be crashing whenever I use the tag . I don't know if that's because of React Native or because of the Expo App. What's the best way to solve this error?

    • @Ayush_kumar123
      @Ayush_kumar123 3 ปีที่แล้ว

      Use

    • @VishalMadhav
      @VishalMadhav 3 ปีที่แล้ว

      @@Ayush_kumar123 Thx! Not gonna lie. It took me hours and so many Google searches to understand what the issue was. Can't believe it was something so simple.

  • @redspace5410
    @redspace5410 4 ปีที่แล้ว

    then should you use parseInt( ) ?

  • @mustafaal-maawi2343
    @mustafaal-maawi2343 3 ปีที่แล้ว

    thanks for these super useful videos

  • @NoNamePerson18
    @NoNamePerson18 2 ปีที่แล้ว

    0:42How can i use the number i am trying to get a number in textinput but it keep giving me string

  • @SRLeonido
    @SRLeonido ปีที่แล้ว

    Thanks for an awesome simple video!

    • @NetNinja
      @NetNinja  ปีที่แล้ว

      You're welcome! :)

  • @Love_action_story
    @Love_action_story ปีที่แล้ว

    thenks sir

  • @ishitaamod5109
    @ishitaamod5109 3 ปีที่แล้ว

    Loved this course , really helped me!

  • @rl4767
    @rl4767 2 ปีที่แล้ว

    good

  • @isakkirajmaharajan9750
    @isakkirajmaharajan9750 4 ปีที่แล้ว

    Yov ninga.... you are legend.

  • @manoj-k
    @manoj-k 2 ปีที่แล้ว

    🔥🔥🔥

  • @DrNabeel20
    @DrNabeel20 3 ปีที่แล้ว

    Great thank you 👏🔥

  • @erixgutierrez6552
    @erixgutierrez6552 ปีที่แล้ว

    Best explanations as usual! you are amazing bro

    • @NetNinja
      @NetNinja  ปีที่แล้ว

      Thanks for watching Erix :)

  • @raviharyob8477
    @raviharyob8477 4 ปีที่แล้ว

    thanks ninja

  • @kouyyem5744
    @kouyyem5744 4 ปีที่แล้ว

    thank you brother .

  • @ander172
    @ander172 7 หลายเดือนก่อน

    Excellent 👍👍

    • @NetNinja
      @NetNinja  7 หลายเดือนก่อน

      Thank you ander 👍

  • @lifesmysteriesofficial
    @lifesmysteriesofficial 4 ปีที่แล้ว

    5:40

  • @germangomez9978
    @germangomez9978 4 ปีที่แล้ว

    nice vid man!

  • @MarcosGomes-np1ke
    @MarcosGomes-np1ke 4 ปีที่แล้ว

    Awesome! Congrats!

  • @farrukhatabekov595
    @farrukhatabekov595 4 ปีที่แล้ว

    Great video and content 👍

    • @NetNinja
      @NetNinja  4 ปีที่แล้ว

      Thank you! 👍

  • @georgesfeungap9737
    @georgesfeungap9737 4 ปีที่แล้ว

    2nd comment,