[EuiComboBoxInput] Migrate from class to function component
Open
help wanted
low hanging fruit
- Dominant language
- TypeScript
- Stars
- 6.4k
- Forks
- 911
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 65
Description
`EuiComboBoxInput` renders the input field, selected option pills, and handles text input within `EuiComboBox`. Internal sub-component.
- **File:** `components/combo_box/combo_box_input/combo_box_input.tsx`
- **Class size:** 333 lines
- **State:** `inputWidth`, `hasFocus`
- **Lifecycle:** `componentDidUpdate`
**Migration notes:**
Tightly coupled to `EuiComboBox`. Should be migrated together. The `componentDidUpdate` manages focus and input width — maps to `useEffect`.
**Acceptance criteria:**
- [ ] Convert to function component with hooks
- [ ] Migrate as part of the ComboBox family
- [ ] All existing tests pass
Contributor guide
Assessment
This issue has not been assessed yet.