c-datetime-picker: let passed placeholder and append-inner-icon win

Open Beginner friendly
#794 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript
Domain
frontend

Research direction

Start in src/coalesce-vue-vuetify3/src/components/input/c-datetime-picker.vue, around line 38, and trace how inherited attributes and the v-text-field placeholder are bound. Make a passed placeholder take precedence while retaining internalFormat as the fallback, then check both cases in the component.

Written by the indexing model from the issue text.

Description

c-datetime-picker binds :placeholder="internalFormat" on its v-text-field after the inherited attrs (c-datetime-picker.vue#L38), so a placeholder given to the picker is always replaced by the date format, e.g. MM/dd/yyyy.

A placeholder passed in should win, falling back to the format when none is given. Today the only way to show other text in an empty picker is to hide the native placeholder with CSS and lay text over the input.

Dominant language
C#
Stars
81
Forks
24
PR merge metrics
No merged PRs in 30d

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from IntelliTect/Coalesce

All issues in IntelliTect/Coalesce

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.