LWC Selectors/Identification of elements

From the documentation of LWC, it is clear that we can use only querySelector and querySelectorAll for getting/selecting element(s) and that we cannot use ID selectors because they are modified at runtime (when rendered). Now consider the below code: How will you set the value of exactly 3rd input dynamically? (Remember you cannot use Id). …

Design a site like this with WordPress.com
Get started