fixed bug causing multiple inputs to be filled with the same value

Inputs with sharing the same first component type in their `dataAttribute` attribute were being filled with whatever the first instance was calling for.