Sharing your idea with potential customers is part of the Customer Discovery Process (Steve Blank) and it leads you to refining your original concept.
Sharing your idea with potential competitors, especially those who can execute quicker than you is dumb. You could be told that your idea sux and they'll go off and implement it.