John always providing us with great content! 👏 A nice way to check for empty values and get the field name would be getting the data with Object.FromEntries like you did and use a for in loop to access each object property value.
because merging object values to array, why need to mention entries directly browser will call that function, if we use ([... fromData]) browser will search the values then merge to array
Thank you so much for this, I have seen this API in someone else's code before now. You just make it clearer to me
Need more javascript nuggets. Love it
John always providing us with great content! 👏
A nice way to check for empty values and get the field name would be getting the data with Object.FromEntries like you did and use a for in loop to access each object property value.
I have subscribed to your channel. Great video. Keep it up and give us great videos like this one.
Awesome video John! Thank you!!!!
Awesome. KISS Form validation. Thank you.
Thanks John great stuff 👍
Thank you very much sir!
What about a multi select or even an installed control like react-select? How is data accessed, via formData, with these?
Nice
I have qst can u please explain why when i log ([... fromData]) i get the same Output as log([... fromData.entries()])
which is an array of arrays
because merging object values to array, why need to mention entries directly browser will call that function, if we use ([... fromData]) browser will search the values then merge to array
Plz make a video on redux and redux toolkit.
I already recorded such playlists.
FormData API in mozilla web api