Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Empty label on ios #272

Closed
Closed
@mathieutu

Description

@mathieutu

Version

1.3.1

Reproduction link

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

Platform and OS info

Nativescript from vue-cli-template, Ios in emulator.

Steps to reproduce

HI,
Inside a ListView, I have a another component which contains a Label.

<Label :text="user.name"class="list-group-item-heading" :textWrap="false"style="height: 100%"/>

It works perfectly on android but not on ios.
on Ios the label is empty.

BUT if Iconvert the name to a string (which is already) directly in the template, it works!

<Label :text="String(user.name)"/><Label :text="user.name + ''"/>

If I do the same in a computed property it doesn't work, it has to be in the template.

I precise that in the chrome debugger I can see that the xml is ok, the name appear well in sources, but not in the application.

What is expected?

Label should not be empty on ios

What is actually happening?

Label is empty on ios


I'm not sure that the reproduction link actually reproduce the problem as I don't have an iPhone to test it, the problem occur in the emulator.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp