FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

ListView Items with visibility property throws binding warning if bound to null · Issue #2149 · NativeScript/NativeScript · GitHub

ListView Items with visibility property throws binding warning if bound to null #2149

Description

Did you verify this is a real problem by searching

Yes, nothing related found for NS 2.0.1

Tell us about the problem

I have a list view, and this list view has a label (per item of course) that I hide using a converter, if the property bound to the Visibility is Null the console throws the warning:
"JS: Binding: Binding error while setting property visibility of Label(17)@file:///app/main-page.xml:9:17;: Error: Invalid value null for property visibility"
I think it was ok with NS 2.0.0 btw.

Which platform(s) does your issue occur on?

Android

Please provide the following version numbers that your issue occurs with:

  • CLI: 2.0.1
  • Cross-platform modules: 2.0.1
  • Runtime(s): Android 2.0.0
  • Plugin(s): None

Please tell us how to recreate the issue in as much detail as possible.

You can recreate the issue by running the attached sample app, just run it and check the console log, it works but it gives the warning.

Is there code involved?

Yes, please download the attached sample app
SampleApp2.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL