You need to sign in to do that
Don't have an account?
Farooq Khan 11
How to get value from a map using key on LWC html?
I am trying to get a value from a map using the key on html in LWC.
I don't want to iterate whole map but only use a particular key to rereive its corresponnding value from the map on HTML.
Any ideas ?
I don't want to iterate whole map but only use a particular key to rereive its corresponnding value from the map on HTML.
Any ideas ?
Try Below Code Please Mark It As Best Answer If It Helps
Thank You!
you need to iterate it, please reffer
if you need any assistanse, Please let me know!!
Kindly mark my solution as the best answer if it helps you.
Thanks
Mukesh
try below code but keep in mind that is only dummy code. if you don't want to iterate lstAccount then simply you can fetch child data in separate variable and use that in Html Iterator like below.
let me know if it helps you and don't forget to mark it as best answer if it helps you.
Thank you