feat(ui): support inline creation of new options in TagsSelect

Add allowCreate prop and create event to TagsSelect component
Integrate inline creation for tags, skills, and methods in admin forms
This commit is contained in:
2026-04-30 07:37:15 +08:00
parent 8570c7d04c
commit be6902333d
3 changed files with 96 additions and 4 deletions

View File

@@ -260,6 +260,17 @@ select {
font-weight: 800;
}
.tags-select__create {
border-top: 1px solid #ebe6da;
border-radius: 0;
color: #1f6f50;
font-weight: 800;
}
.tags-select__create:hover {
background: #edf7ef;
}
.tags-select__option:disabled {
cursor: not-allowed;
opacity: 0.45;