Replaced input fields with a component