Our Maytag washing machine will not always fill on it’s own (it sometimes does). If we manually fill it with a bucket it goes through the rest of its cycle OK although it also sometimes stops filling on the rinse cycle and has to be once again manually filled with a bucket. Which part needs replacing?
I would check to see if your getting power to your water valve.