Skip to content

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

@Daxito

Description

@Daxito

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions