Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Cannot bind backgroundColor to a layout #229

Closed
@tjvantoll

Description

@tjvantoll

Version

1.3.1

Reproduction link

https://play.nativescript.org/?template=play-vue&id=L8tcfY&v=3

Platform and OS info

iOS 11, NativeScript 4.0.1

Steps to reproduce

Run https://play.nativescript.org/?template=play-vue&id=L8tcfY&v=3.

What is expected?

The page will render with a red box.

What is actually happening?

The app crashes with an NSInvalidArgument exception.


This one is messing with me. If you do backgroundColor="red" the example works, but if you bind to a string with "red" it fails. I have no idea what’s going on, but any help would be appreciated. It’s possible that this affects more than just the backgroundColor property, but that’s what I hit.

Metadata

Metadata

Assignees

No one assigned

    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