Product review (5 stars): Maytag Dispenser motor/switch
According to Maytag:  a substitute is available--  W10352973.
If your Maytag front-load washer fails to fill with water, this motor-switch assembly in the detergent dispenser assembly may be the culprit.
Easy to replace.

If defective, the motor/cam continues to cycle but never stops at position 2 so the computer never allows water inlet solenoids to activate and allow water to flow into the dispenser assembly.  The switch portion of the motor/switch probably failed.  Depending on model #, an error code results after about 5 minutes (E02-F08 on MHW6000XW2 model).