How to replace a valve

My refrigerator was leaking onto the floor. I discovered that the water valve was leaking. I disconnected the valve and will order it. However, the old valve is connected to a bracket. Does the new part come attached to the bracket? :confused: Please see photos of the valve I removed. Thanks in advance for your advice.

The new valves come already on a new bracket which screws to the fridge mount.