PeterStaev / NativeScript-Drop-Down

A NativeScript DropDown widget.
Apache License 2.0
105 stars 65 forks source link

Clear selected index / reset #189

Closed xjpmauricio closed 5 years ago

xjpmauricio commented 5 years ago

Is there a way to clear the selected index of the dropdown or somehow reset it to it's initial state?

PeterStaev commented 5 years ago

Hey @xjpmauricio , have you tried the selectedIndex property to null?

xjpmauricio commented 5 years ago

Ok i'll try it.

xjpmauricio commented 5 years ago

It works, thanks.