maj de la lib de select et ajout de l'option clear-on-select

This commit is contained in:
Christophe 2021-03-17 22:53:24 +01:00
parent e3845cc3a7
commit 787e8b2659
4 changed files with 13 additions and 776 deletions

View file

@ -50,11 +50,13 @@
border-bottom-left-radius: 0; border-bottom-left-radius: 0;
border-bottom-right-radius: 0; border-bottom-right-radius: 0;
} }
.vue-input > input[disabled],
.vue-select.disabled { .vue-select.disabled {
background-color: rgba(239, 239, 239); background-color: rgba(239, 239, 239);
} }
.vue-select.disabled * { .vue-dropdown[data-removable='false'] .vue-dropdown-item.selected:hover,
.vue-select.disabled *,
.vue-select.disabled input,
.vue-tags[data-removable='false'] .vue-tag.selected img:hover {
cursor: not-allowed; cursor: not-allowed;
} }
.vue-select-header { .vue-select-header {
@ -121,9 +123,10 @@
font-size: 0.8rem; font-size: 0.8rem;
padding: 0; padding: 0;
} }
.vue-input > input[readonly] { .vue-input > input[disabled] {
cursor: default; background-color: rgba(239, 239, 239);
} }
.vue-input > input[readonly],
.vue-select-header > .vue-input > input[disabled] { .vue-select-header > .vue-input > input[disabled] {
background-color: unset; background-color: unset;
} }
@ -163,6 +166,9 @@
.vue-dropdown-item.selected:hover { .vue-dropdown-item.selected:hover {
background-color: #ff6a6a; background-color: #ff6a6a;
} }
.vue-dropdown[data-addable='false'][data-multiple='true'] .vue-dropdown-item:not(.selected):hover {
cursor: not-allowed;
}
.icon.loading { .icon.loading {
display: inline-block; display: inline-block;
position: relative; position: relative;

View file

@ -619,6 +619,7 @@ let monTableau = {
multiple multiple
taggable taggable
close-on-select close-on-select
clear-on-close
searchable searchable
@selected="selectValCol" @selected="selectValCol"
@search:input="hanldeSearchInput($event, head)" @search:input="hanldeSearchInput($event, head)"

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long