[ic-date-input] formatting of placeholder text messes up
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 63
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 15
Description
## Summary of the bug
The formatting of the placeholder dd\mm\yyyy can overlap in some situations
## 🪜 How to reproduce
There are a few ways in which this happens, but the following seems to recreate the issue reliably
1. Go to a date input field
2. enter a value eg 01/02/2001
3. Now delete the DD part of the date:
4. See the DD placeholder text is partially hidden:

similar happens if you remove the MM part:

However, when clearing the field with the "X" button, the formatting is correct:

## 🧐 Expected behaviour
The DD, MM and YYYY placeholder text should be fully visible when the values are cleared
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in the ic-date-input date field, comparing partial deletion of the DD or MM value with clearing the field using the X button. Done means the DD, MM and YYYY placeholder text remains fully visible after either interaction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100