dot-assignParentValue function

Assign parent values based on component type