hello sir me=>> name: new FormControl(' ',[Validators.required, Validators.pattern('[a-zA-Z]+$')]), =>> kr rhi hu but mere validation hide nhi hor rhi h jab me kuchh bhi input kru to.. please sir reply me soon please.
Sir, #36 me apne Template Driven Form banaya aur #37 means ye wale vdo me aap Reactive Form ka validation bata rahe ho. Kuch vdo missing hai kya series me?? 0:06
Those who are getting invalid error message in html template.... function should be get Eg: get user() {return} And not : getuser() {return} There is a space between get and the name of function.... Get is a separate keyword
How to write different error messages for different type of validation For example for required the msg will be this field is required for min length msg will be min length is ...
Hello bhaiya, I didn't understood the *ngIf condition. I understood why we used "user.invalid && user.touched" but I why we used "user" at the start in the condition with these two other condition. what does it signify?
bhtreen, awesome aaj asa lga ki shi mein kuch tagda bnaya h
after some video, I watch your video then my basic concept clear.
hello sir
me=>> name: new FormControl(' ',[Validators.required, Validators.pattern('[a-zA-Z]+$')]), =>> kr rhi hu but mere validation hide nhi hor rhi h jab me kuchh bhi input kru to.. please sir reply me soon please.
Sir, #36 me apne Template Driven Form banaya aur #37 means ye wale vdo me aap Reactive Form ka validation bata rahe ho. Kuch vdo missing hai kya series me?? 0:06
Thank you for the lesson !!!
very well explained ! Than You Anil
Those who are getting invalid error message in html template....
function should be get
Eg:
get user() {return}
And not : getuser() {return}
There is a space between get and the name of function....
Get is a separate keyword
You missed to add video on validation through 'Template driven Form' & also introduction part of 'Reactive form'
Check his English series on it
You will find out both of them..
How to write different error messages for different type of validation
For example for required the msg will be this field is required for min length msg will be min length is ...
How to give separate Error message of each validation, in case of multiple validations in a field ?
Validation through template driven form?
Thank you sir 👍👍
laajwaab sir gee
if we had multiple fields then we have to define separate function for each field.
thank you
Hello bhaiya, I didn't understood the *ngIf condition. I understood why we used "user.invalid && user.touched" but I why we used "user" at the start in the condition with these two other condition. what does it signify?
It is checking if the user property is not undefined
till 50 video of this series, is enough to crack interview?
I used every steps of your but the invalid message doesn't appear
user:new formControl(' ',[validators.required])
Validator must be second parameter
Good morning sir ji
Super 👍
Thank you! Cheers!
❤
Thanks sir
Welcome
Meine same step follow Kiya but invalid wala msg appear nhi ho raha hai..
name: new FormControl(' ',[Validators.required, Validators.pattern('[a-zA-Z]+$')]), try once more
Is video se pahle wala video sequence main nahin aa raha h
Video39 is repeated, I think you mistakenly uploaded the wrong one. Kindly correct.
Sure
@@codestepbystep till now it was not corrected
nice
Thanks
in case of facing Invilid error on html template! use question mark!!
*ngIf="userNameValidate?.invalid
tried but it's not working
*ngIf="user && user?.invalid && user?.touched
it's showing the same error Property 'invalid' does not exist on type
@@manishchoudhary2722 use hasError method saw any ref from google!
@@manishchoudhary2722 use hasError method , take refrence from stackoverflow or chatgpt
Thanks Sir gee
Video39 is repeated, I think you mistakenly uploaded the wrong one. Kindly correct.
I will check it