u cant and the spring is not sold alone.
You can buy spring loaded hinges that will correct that problem.
Electrolux ESF6146S Freestanding Dishwasher with Glass Door is a dishwasher with a see thru door so you can see dishes being washed.
your dishwasher may be leaking from the door because the rubber seal may be torn or brittle
call a repair man
you replace the spring inside the gas cap that pushes the door open
fix fixes or fixingI fix the door everyday.The janitor fixes the door sometimes.We are fixing the door.
At this moment to try to help you fix your dishwasher
You can if you are handy like that.Otherwise I would spring for the cost and hire a professional. It sounds like nothing major and you do not want to make it worse.
call roto rooter the pluming specialist they fix it right
remove enter door panel. check the latch rod from handle to keeper spring latch (lock). either bent or detached. end.
you should call a man to see if he could fix it