Placeholder Text not showing up

Fuse version: 0.23.0 (build 7041)

OsX El Capitan 10.11.6

<TextView PlaceholderText="Placeholder Text goes here" PlaceholderColor="#000000" TextColor="#000000" TextWrapping="Wrap">
    <Rectangle CornerRadius="5" Layer="Background" Fill="#ffffff"/>
</TextView>

This works fine here, with the same Fuse and OS X versions:

Which target are you seeing this issue on? Are you able to reproduce the issue with just the code below, or could it be because of some other code in your project?

<App>
    <TextView PlaceholderText="Placeholder Text goes here" PlaceholderColor="#000000" TextColor="#000000" TextWrapping="Wrap">
        <Rectangle CornerRadius="5" Layer="Background" Fill="#ffffff"/>
    </TextView>
</App>

Oh sorry Anders I forgot to mention that… I’m previewing in iOS 9.3.3 (device), with this code exactly.

Hello again! I’ve now verified that this is a bug in Fuse, and created a ticket for us to fix it. Sorry for the trouble!

Ok! no problem, I’m glad to help.

Will this be in 26.0?

Hi!

We use the native text editors for each platform, PlaceholderText and PlaceholderColor are properties that are not natively supported on all platforms (for example UITextView does not support it on iOS). We have decided to remove these properties from <TextView />.

Also, making a placeholder is very easy in UX (also a reason for not creating a hack instead of removing the feature).

Please have a look at this example:

    <TextView>
        <WhileString Test="IsEmpty">
            <Text TextWrapping="Wrap">My Placeholder</Text>
        </WhileString>
    </TextView>

I hope this solution is acceptable :slight_smile:

Good, works just as well! So, when will WhileString be available?

That will be out in the upcoming release (0.26), you can get the release candidate at https://www.fusetools.com/downloads/channel/qa