alsoscotland / react-super-select

MIT License
95 stars 33 forks source link

Support for disabled options #92

Closed tasiek closed 7 years ago

tasiek commented 7 years ago

In our application, we need a support for disabling options (visible but not active).

It is used in HTML as disabled attribute on option element. We could have an optional "disabled" property in option object.

alsoscotland commented 7 years ago

@tasiek That is absolutely something this control should allow. I will make a pull to add disabled-option support soon

alsoscotland commented 7 years ago

@tasiek I am back after being out sick a while. I have put together a branch with disabled option support. Next version will have it

alsoscotland commented 7 years ago

@tasiek released https://github.com/alsoscotland/react-super-select/tree/v0.5.12 It should allow for disabled options

tasiek commented 7 years ago

Works fine, thank you!

alsoscotland commented 7 years ago

👍