Placeholder not visible in input field

Am I doing something wrong?

I’m creating a ‘contact us’ form.

Instead of using a form component, I’m using text input fields, so I can use magic text in the fields.

I want the sender’s name field to be prefilled (using magic text) if the sender is a logged in user. But I want placeholder text (“Your name here”) to appear in the field if the user is not logged in.

I have it configured like this:

When I preview the screen as a logged in user, it works correctly:

But when I preview the screen as a not-logged in user, the field is blank. No placeholder text:

Am I doing something wrong? This is not an issue of font color or background.

I’d appreciate any help.

Hi Michael,

I’m sorry that you are facing this issue!

This is because you have a space between your first name and last name magic text values. Then when there is no Logged in user there is no first name and last name but the space is visible.

Once you preview your app without Login click the input box and just hit backspace and you will see the Placeholder.

For this issue you can store the the first name and the last name in a one text property and add that in the Input Box.

Thank you

1 Like

Brilliant! I never would have thought of that. Thank you.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.