diff --git a/src/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/TagCreationForm.vue b/src/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/TagCreationForm.vue index 3d37c9c..affe9fc 100644 --- a/src/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/TagCreationForm.vue +++ b/src/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/TagCreationForm.vue @@ -87,6 +87,7 @@ export default { this.options.push({ label: `Какая-то категория ${this.options.length + 1}`, }); + this.model.category = this.options.at(-1)?.label; }, openMenu() { this.isOpen = !this.isOpen; @@ -105,13 +106,18 @@ export default { .select border: 1px solid var(--border-light-grey-color) + transition: border-color 0.36s cubic-bezier(0.4, 0, 0.2, 1) width: 436px + &:hover + border: 1px solid rgba(0, 0, 0, 1) .open-menu transform: rotate(180deg) .open-select border: 1.5px solid var(--btn-blue-color) + &:hover + border: 1.5px solid var(--btn-blue-color) .menu-wrapper margin-right: 5px