35 lines
668 B
Markdown
Executable File
35 lines
668 B
Markdown
Executable File
# Check Combo Input
|
|
|
|
## 목적
|
|
|
|
`code/value` 데이터를 받아 여러 항목을 체크박스 형태로 선택하고, 실제 값은 `code[]`로 유지하는 다중 선택 combo 입력 컴포넌트입니다.
|
|
|
|
## 폴더 구조
|
|
|
|
```text
|
|
src/components/inputs/checkCombo
|
|
├─ CheckComboUI.tsx
|
|
├─ index.ts
|
|
├─ plugins/
|
|
├─ samples/
|
|
└─ types/
|
|
```
|
|
|
|
## 주요 props
|
|
|
|
- `data: { code, value }[]`
|
|
- `value`, `defaultValue`
|
|
- `onChange(codes, items)`
|
|
- `showSearch`
|
|
- `allowClear`
|
|
- `placeholder`
|
|
|
|
## plugins
|
|
|
|
- `createCheckComboPlaceholderPlugin`
|
|
- `createCheckComboSortPlugin`
|
|
|
|
## 샘플
|
|
|
|
- 대표 샘플: `src/components/inputs/checkCombo/samples/Sample.tsx`
|