Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.
This repository was archived by the owner on May 13, 2024. It is now read-only.

Error on format code in a Ternary Operator #14

@calebeaires

Description

@calebeaires

I have tried to use Ternary Operators with expression using < and I got the error above, but not when using something like that !=:

XML formatting failed: at line 13, column 76: expected exclamation mark, question mark or alphabetic tag name.

<StackLayout>
    <Label text="label using < " visibility="{{ p.cond < 1 ? 'visible' : 'collapsed' }}"  />
    <Label text="label using != " visibility="{{ p.cond != 1 ? 'visible' : 'collapsed' }}" />
</StackLayout>

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions