Skip to content
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

Issue with elements in ListView #63

Closed
ngydat opened this issue Mar 23, 2016 · 2 comments
Closed

Issue with elements in ListView #63

ngydat opened this issue Mar 23, 2016 · 2 comments

Comments

@ngydat
Copy link

ngydat commented Mar 23, 2016

Hello,

In https://github.com/NativeScript/sample-Groceries/blob/angular/app/pages/list/list.html,
in the Label tag (the text property to be exact), the only text being put is item.name.
What I'd like to do is put plain text like "Hello item.name" but when I do that, I get an error.

How can I solve this issue ?

Thank you

@leocaseiro
Copy link

Try:

"'Hello ' + item.name"

@tjvantoll
Copy link
Contributor

Hey @ngydat,

What @leocaseiro noted is correct. In the future could you log issues like this on Stack Overflow? If you tag the question with the “nativescript” tag our whole community will see the question and you’ll get a much faster response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants