ember-learn / ember-learn/guides-source

Show how to make your own input component

Open
#1,354 15 comments 2 reactions 0 assignees View on GitHub
needs team discussion on hold
Dominant language
HTML
Stars
161
Forks
512
Avg merge
4d 9h
Merged PRs (30d)
4

Description

In Ember Octane, we have an emphasis on teaching devs how to use Ember to interact with the DOM. We should show an example of how to create a regular `input`, as opposed to `Input`.

Showing how to write a vanilla input component serves 3 purposes:
- Teaches how to interact with the DOM
- Allows people to clearly use and understand aria properties
- empowers devs to understand the tradeoffs between input and Input, and make an informed decision
- allows people to sidestep some of the event weirdness that Input has (see https://github.com/emberjs/ember.js/issues/18654)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.