create dynamic refs for child input fields based on articles per component