Skip to content

[Bug]: TextField.prompt does not support styling the Text #1529

@carson-katri

Description

@carson-katri

What happened?

Currently, the TextField element does not properly support the prompt argument.

When using prompt, you should be able to pass a Text view with a template, which can be styled with modifiers such as foregroundStyle.
Currently, only a String argument can be passed.

Library Version

0.3.1

Xcode Version

16.2

Swift Version

No response

On which device or simulator are you running into the problem?

iPhone

Target Device Operating System Version

18.2

Relevant log output

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions