-
-
Notifications
You must be signed in to change notification settings - Fork 245
Empty label on ios #272
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
Ok, I think I've understood where is the problem. export default class User {
constructor(user) {
this.name = user.profile.real_name_normalized.toUpperCase();
}
}; And the item passed throw the template is not of type User anymore. Maybe something happen at this time ? |
Please try |
ok, I'm not on it right now, but I'll try and let you know. |
@mathieutu I've added a test case and confirmed that it's working on the CC/ @rigor789 |
Closing this issue as it works on the |
We are locking this issue because it has been closed for more than 14 days. If the issue comes up again please open a new issue with additional details. |
Version
1.3.1
Reproduction link
https://play.nativescript.org/?template=play-vue&id=3SaUXi&v=3
Platform and OS info
Nativescript from vue-cli-template, Ios in emulator.
Steps to reproduce
HI,
Inside a ListView, I have a another component which contains a Label.
It works perfectly on android but not on ios.
on Ios the label is empty.
BUT if I convert the name to a string (which is already) directly in the template, it works!
If I do the same in a computed property it doesn't work, it has to be in the template.
I precise that in the chrome debugger I can see that the xml is ok, the name appear well in sources, but not in the application.
What is expected?
Label should not be empty on ios
What is actually happening?
Label is empty on ios
I'm not sure that the reproduction link actually reproduce the problem as I don't have an iPhone to test it, the problem occur in the emulator.
The text was updated successfully, but these errors were encountered: