Skip to content

DBInput (Feature Request): Style Placeholder Text for type="date" in DBInput #4223

@annsch

Description

@annsch

Default text appears in black as if user input is present

In the current implementation, the default text in the type="date" input field is displayed in black. This gives the impression that the user has already entered a value.

Expected behavior:

The input field should display placeholder text in a lighter color (e.g., grey) to clearly indicate that no user input has been provided yet.

For reference, see how placeholders are handled in input fields such as Password, Search, or URL here:
https://design-system.deutschebahn.com/core-web/version/v2.0.9/components/data-input/input/overview?page=example+-+types+with+min+and+max

Metadata

Metadata

Assignees

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions