'Using htmlFor labels programmatically with inputs
I have the following code:
<label htmlFor="Name">Name</label>
<input
id={`provier-name-${props.index}`}
name="name"
value={technologyProvider.name}
onChange={inputsHandler}
></input>
</div>
I don't think this is constructed programmatically with the id, but i'm not sure how to reword it, can anyone help?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
