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

View File

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

View File

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

View File

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