-
-
Notifications
You must be signed in to change notification settings - Fork 241
Properties newIndex and oldIndex not working for SelectedIndexChangedEventData TabView #1066
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@vitaliy-kuzmich can confirm that As a workaround use directly the selectedIndex property of the TabView.
|
@NickIliev mentioned code example works, thank you. There is another issue with tabs : [(ngModel)]="tabSelectedIndex" (from example) also does not works. it says |
@vitaliy-kuzmich in order for two-way binding to work verify that you have imported
Regarding the By the way, I have just updated the mentioned example (using ngModel) for a better demonstration of the two-way binding (currently on PR here) and it works as expected on my side. |
@NickIliev right, thanks! |
Also applies to
|
any news on this? there's no point having SelectedIndexChangedEventData if the event doesn't pass any data |
@medigeek This had me scratching my head for a while after your comment and it's popped up somewhere else: due to how "NativeScript core" (xml) is wired, every time you change a property it emits the event In the end all you need is to change |
The text was updated successfully, but these errors were encountered: