Whirpool Ice Maker Leaks

Water will leak from ice maker whenever water id dispensed from the water dispenser on the door. Flow from the water dispenser is also weaker than in previous times. Would replacing the water inlet valve that supplies water to the ice maker and door dispenser correct this problem or is this indicative of another issues?