inputName prop added to add a name property.