feat(web): TagInput component for project multi-select #11
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The CreateItemPane currently uses toggle buttons to select projects. This needs to be replaced with a searchable multi-select tag input that scales better when there are many projects.
This component will also be reusable for other tag-like fields across the app.
Component:
TagInputFile:
web/src/components/TagInput.tsxProps
Behavior
--ctp-basebg,--ctp-surface1border)rgba(203,166,247,0.15)bg,--ctp-mauvetext) with x remove buttonUsage for Projects
searchFncallsGET /api/projectsand filters client-side, mapping to{ id: project.code, label: project.code + ' - ' + project.name }No Backend Changes Required
Uses existing
GET /api/projectsendpoint.Acceptance Criteria