|
|
@ -158,6 +158,8 @@ watch( |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
watch(isOpen, (n, _o) => { |
|
|
|
watch(isOpen, (n, _o) => { |
|
|
|
|
|
|
|
if (!n) searchVal.value = '' |
|
|
|
|
|
|
|
|
|
|
|
if (editAllowed.value) { |
|
|
|
if (editAllowed.value) { |
|
|
|
if (!n) { |
|
|
|
if (!n) { |
|
|
|
aselect.value?.$el?.querySelector('input')?.blur() |
|
|
|
aselect.value?.$el?.querySelector('input')?.blur() |
|
|
@ -321,7 +323,7 @@ useEventListener(document, 'click', handleClose, true) |
|
|
|
:bordered="false" |
|
|
|
:bordered="false" |
|
|
|
clear-icon |
|
|
|
clear-icon |
|
|
|
show-search |
|
|
|
show-search |
|
|
|
:show-arrow="hasEditRoles && !readOnly && (editable || (active && vModel.length === 0))" |
|
|
|
:show-arrow="editAllowed && !readOnly" |
|
|
|
:open="isOpen && editAllowed" |
|
|
|
:open="isOpen && editAllowed" |
|
|
|
:disabled="readOnly || !editAllowed" |
|
|
|
:disabled="readOnly || !editAllowed" |
|
|
|
:class="{ 'caret-transparent': !hasEditRoles }" |
|
|
|
:class="{ 'caret-transparent': !hasEditRoles }" |
|
|
|