Are you assigning the new product after clearing the values? Start looking at, \Forms\EcoResProductCreate\Methods\write