I am double-clicking a color stop in the gradient panel to select a color, but it’s not working

This method for changing the color of a stop works in Photoshop and Illustrator, but not in InDesign. Click the stop one time and then use the color picker to select a color. Alternatively, you can use the color panel. If you use the swatches panel, hold the ALT/OPTION and select a swatch.