MelSumner / MelSumner/ember-component-patterns

Anti-Pattern Suggestion: Select Element

Open
#6 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
19
Forks
3
PR merge metrics
No merged PRs in 30d

Description

I have a suggestion for an anti-pattern for the select element. This is one I see a lot, where the default/empty option is used as a substitute for the label.

```HTML

Select a color
Red
Orange
Yellow

```
Thanks for your consideration!

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

No file, test, or entry point is named. First locate the repository's existing anti-pattern documentation and determine how a select-element example is recorded; done means the proposed empty-option-as-label pattern is documented consistently and reviewed for fit with the project's structure.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
accessibility, documentation, frontend
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.