Keen-UI icon indicating copy to clipboard operation
Keen-UI copied to clipboard

How to disable option in UiSelect?

Open lavezzi1 opened this issue 7 years ago • 3 comments

As I understand it's not possible right now? I made changes in UiSelect similarly UiMenu, works great. But when I open select, the first option is always highlighted. Where In the code I should make a check if option disabled then don't highlight?

lavezzi1 avatar Apr 14 '17 13:04 lavezzi1

Hello @lavezzi1,

Currently this is not possible, but you can filter the list of options to remove the disabled option. I'll consider adding the ability to disable an option in the next release.

JosephusPaye avatar Jul 15 '17 03:07 JosephusPaye

@JosephusPaye Is there an update on adding a disabled prop to UiSelectOption?

christianmemije avatar Sep 05 '17 21:09 christianmemije

@christianmemije Nothing new. I'm working on a 1.1 update which will include this.

JosephusPaye avatar Sep 06 '17 07:09 JosephusPaye