alsoscotland / react-super-select

MIT License
95 stars 33 forks source link

Add possibility to pass component as placeholder #120

Closed prdebski closed 7 years ago

prdebski commented 7 years ago

That would be nice to have possibility to pass component as placeholder. Now when passing component I got warning: "Failed prop type: Invalid prop placeholder of type object supplied to ReactSuperSelect, expected string."

alsoscotland commented 7 years ago

@prdebski placeholder is used as the value for the html attribute placeholder. It would not be semantic to allow components there