Closed toddanglin closed 7 years ago
It seems to work on Android, but just not iOS.
@PeterStaev Could we not just add a check for the isEnabled
context and just return out of the function if it's false. Seems easy to me. I'd do it myself but I don't understand enough about how this TypeScript class stuff works.
@lukeramsden , I will have to take a look at this, but it will be for the 3.1 version. Dont think just returning will do. You have to also close the popup. Also not sure about styles.
@PeterStaev is there any sort of ETA for 3.1?
Styles can be done with pseudo selectors https://github.com/NativeScript/NativeScript/issues/50
@lukeramsden , currently there is not ETA for 3.1.
To make DropDown consistent with other NativeScript UI elements, it would be great if there were support for a
isEnabled
property.When
isEnabled
isfalse
the DropDown should A) not open when tapped, and B) display the label in a disabled state.isEnabled
should betrue
by default.