Control Multiple Input Elements in React JS (Hindi)

  Рет қаралды 20,850

Geeky Shows

Geeky Shows

Күн бұрын

Пікірлер: 35
@AmitabhSuman
@AmitabhSuman Жыл бұрын
Right on the bulls eye. Such a detailed and amazing tutorial. This series is amazing!
@rishikesharora8681
@rishikesharora8681 3 жыл бұрын
same example by using functional component. import React, { useState } from 'react' export default () =>{ let myObj = { name : "", password : "" } const [controls, setControls] = useState(myObj); const handleControl = (e) => { setControls({[e.target.name] : e.target.value}); } return( Name : Password : ) }
@blackmamba3984
@blackmamba3984 2 ай бұрын
the problem is 7:14 ---har ek input fild keliye ek handler (function) banana padega solution is write a single handler that manage all input filed. attribute add karna padega har ek input filed me ex.... name= "kuch bhi add kar sakte he " 8:58 learn logic at 15:46
@asharma741
@asharma741 4 жыл бұрын
Sir i am very thankful to you . No one explaons like you........
@abdullahamin4504
@abdullahamin4504 2 жыл бұрын
Brother ----- We wait for your Video About ----- django Custom admin panel How to use Please Make a video as soon as posible ....
@kiva1823
@kiva1823 5 жыл бұрын
Super clear lectures and very knowledgeable instructor. Definitely worth your time if you want to become a React master. Thank you:) 𝓖𝓔𝓔𝓚𝓨 𝓢𝓗𝓞𝓦𝓢!✰✰✰✰✰
@rohitkudalkar92
@rohitkudalkar92 4 жыл бұрын
hello sir, yor tutorials are very informative and helpful. can you please make videos on form library like formik which is very popular for react. Thanks and support
@jagdishjena9058
@jagdishjena9058 2 жыл бұрын
Thank you so much sir.
@praveenkumar9725
@praveenkumar9725 4 жыл бұрын
bro..isko functional component mein kaise karna hai woh bhi ek baar dikha dete yaar... anyways. Nice tutorial... thank you.
@ijazDeveloper786
@ijazDeveloper786 4 жыл бұрын
sir apny rcc say kesy class component defind kiya tell me plz about this short keys rcc
@simple8810
@simple8810 3 жыл бұрын
Sir wiithout using this.setState() how could you set the password value to upper case i donot think ths upperCase will be stored as new value?
@hometvfirestick
@hometvfirestick 3 жыл бұрын
thanks
@agranshuaggarwal3947
@agranshuaggarwal3947 4 жыл бұрын
Awesome
@navitagoyal4426
@navitagoyal4426 4 жыл бұрын
Sir in which video of javascript you have explained about e.target.value, please comment the link. Thanks!
@simple8810
@simple8810 3 жыл бұрын
it is js concept
@thejourneyfromdarktolight770
@thejourneyfromdarktolight770 4 жыл бұрын
why you use brackets in [e.target.name] they are used for arrays?
@asharma741
@asharma741 4 жыл бұрын
I have also the same query
@ajaybhardwaj6342
@ajaybhardwaj6342 4 жыл бұрын
this is ES6 syntax for setting object property
@simple8810
@simple8810 3 жыл бұрын
sometimes we need to use bracket [ ] notation to set object property or accessing object propertes cause dot is failder sometmes
@ADH_01
@ADH_01 3 жыл бұрын
Ye square brackets kyu lgaye hai? Explain plz
@manojrawat5756
@manojrawat5756 Жыл бұрын
❤❤❤
@rajatchaurosia2903
@rajatchaurosia2903 Жыл бұрын
hello sir i write same code but all work but value is not updating
@amanrawat4250
@amanrawat4250 4 жыл бұрын
Hello sir how to do this with function component I am not able to update the input fields
@samimkhan6835
@samimkhan6835 4 жыл бұрын
this.setState({[e.target.name]:e.target.value}) not changing values in input
@takbeeralikhan1043
@takbeeralikhan1043 4 жыл бұрын
put ; semicolon at the end of statement
@abdulsami4618
@abdulsami4618 4 жыл бұрын
Brother make sure " e " event, is available in the function!~
@DeepakGupta-hj2dv
@DeepakGupta-hj2dv 5 жыл бұрын
React js ke notes upload krege...?
@geekyshows
@geekyshows 5 жыл бұрын
Yes After some days
@DeepakGupta-hj2dv
@DeepakGupta-hj2dv 5 жыл бұрын
Hoc higher order components pr video na bnaya sir..?
@connect.tehseen
@connect.tehseen 2 жыл бұрын
@@geekyshows How to do this with function component? Plz reply
@arijitdatta4618
@arijitdatta4618 4 жыл бұрын
isko function pe try kiya nahi ban raha hai
@jeetuachtani
@jeetuachtani 5 жыл бұрын
Hello , I have done this through functional component. please tell me if its right... const [inputs, setInputs] = useState({}); const handleInputChange = event => { event.persist(); setInputs(inputs => ({ ...inputs, [event.target.name]: event.target.value })); }; inside form value={inputs.name} onChange={handleInputChange}
@abdulsami4618
@abdulsami4618 4 жыл бұрын
I Appericiate your logic..! but can use please tell me why you add function in setInput( ) ?? You can do with this way as well..! function forEveryThing(e) { const value = e.target.name === "pass" ? e.target.value.toUpperCase() : e.target.value; setInputs({ ...inputs, [e.target.name]:value, }) }
@rishikesharora8681
@rishikesharora8681 3 жыл бұрын
this is perfact
@ACHTech20
@ACHTech20 4 жыл бұрын
BHAI KEYBOARD DABNE ME MJA AATA HAI KYA 😂😂😂
Handling Form in React JS (Hindi)
10:51
Geeky Shows
Рет қаралды 16 М.
Uncontrolled Component ref in React JS (Hindi)
21:30
Geeky Shows
Рет қаралды 20 М.
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 16 МЛН
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 66 МЛН
#36 : Handling Complex Multiple Input Form States in React JS in Hindi
22:51
Controlled Component in React JS (Hindi)
20:31
Geeky Shows
Рет қаралды 27 М.
Styling Component Inline Style in React JS (Hindi)
22:29
Geeky Shows
Рет қаралды 19 М.
Lists in React JS (Hindi)
47:39
Geeky Shows
Рет қаралды 39 М.
Diwali Travel Paavangal | Parithabangal
15:18
Parithabangal
Рет қаралды 1,8 МЛН
Context Type in React JS (Hindi)
16:40
Geeky Shows
Рет қаралды 14 М.
Error Boundaries in React JS (Hindi)
27:52
Geeky Shows
Рет қаралды 20 М.
Passing Arguments to Event Handlers in React JS (Hindi)
20:06
Geeky Shows
Рет қаралды 36 М.
State Managers Are Making Your Code Worse In React
13:33
Web Dev Simplified
Рет қаралды 194 М.
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 16 МЛН