no-arrow option added for select component

This commit is contained in:
Burak Civan 2022-06-15 14:37:34 +03:00
parent 9c788faff1
commit 6e05576951
5 changed files with 738 additions and 12107 deletions

12826
public/css/app.css vendored

File diff suppressed because it is too large Load Diff

View File

@ -5,6 +5,7 @@
:class="[ :class="[
{'readonly': readonly}, {'readonly': readonly},
{'disabled': disabled}, {'disabled': disabled},
{'no-arrow': noArrow},
formClasses formClasses
]" ]"
:error="formError"> :error="formError">
@ -346,6 +347,12 @@ export default {
description: "Selectbox disabled status" description: "Selectbox disabled status"
}, },
noArrow: {
type: Boolean,
default: false,
description: "Selectbox show arrow"
},
clearable: { clearable: {
type: Boolean, type: Boolean,
default: true, default: true,

View File

@ -357,6 +357,10 @@
content: "\e6e1"; content: "\e6e1";
} }
.no-arrow .el-select__caret {
display: none;
}
.el-input .el-icon-circle-close { .el-input .el-icon-circle-close {
transform: unset !important; transform: unset !important;
transition: unset !important; transition: unset !important;

View File

@ -121,6 +121,10 @@
clearable clearable
@endif @endif
@if (isset($attributes['no-arrow']))
:no-arrow="{{ $attributes['no-arrow'] }}"
@endif
@if (isset($attributes['v-disabled'])) @if (isset($attributes['v-disabled']))
:disabled="{{ $attributes['v-disabled'] }}" :disabled="{{ $attributes['v-disabled'] }}"
@endif @endif

View File

@ -121,6 +121,10 @@
clearable clearable
@endif @endif
@if (isset($attributes['no-arrow']))
:no-arrow="{{ $attributes['no-arrow'] }}"
@endif
@if (isset($attributes['v-disabled'])) @if (isset($attributes['v-disabled']))
:disabled="{{ $attributes['v-disabled'] }}" :disabled="{{ $attributes['v-disabled'] }}"
@endif @endif