carbon-design-system / carbon-design-system/carbon-components-angular

Standardize/abstract form control labels and common Inputs

Open
#672 0 comments 0 reactions 0 assignees View on GitHub
component: Checkbox component: Combobox component: Date Picker component: Dropdown component: Input component: Number component: Radio component: Select enhancement
Dominant language
TypeScript
Stars
566
Forks
318
PR merge metrics
No merged PRs in 30d

Description

Most form controls share a general structure, with a `ibm-form-item` component we can standardize our label handling and reduce repitetion. We should also implement a `BaseFormControl` that provides common `Input`s, `Output`s, and methods (such as `isTemplate`)

`ibm-form-item` rough sample (for `ibm-select`):

```html









```

Contributor guide

Open the contributing guide

Research direction

Start by comparing the existing form-control components and the proposed ibm-form-item sample. Identify the shared label handling, Inputs, Outputs, and methods such as isTemplate that can move into BaseFormControl. Done means common behavior is standardized across the relevant controls without repeating their shared structure.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.