@westartcom/bread-quasar-fields 0.1.14 → 0.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="field-wrap" :id="id">
|
|
3
3
|
<div class="field-wrap-inner">
|
|
4
|
-
<div class="field-label-wrap">
|
|
4
|
+
<div class="field-label-wrap" v-if="showLabel">
|
|
5
5
|
<label v-if="field.label" :for="id + '-input'">{{ field.label }}<span class="required-asterix" v-if="field.required"> *</span></label>
|
|
6
6
|
</div>
|
|
7
7
|
|
|
@@ -95,6 +95,11 @@ export default defineComponent({
|
|
|
95
95
|
type: Object as PropType<FileUploadFieldDefinition>,
|
|
96
96
|
required: true
|
|
97
97
|
},
|
|
98
|
+
showLabel: {
|
|
99
|
+
type: Boolean,
|
|
100
|
+
required: false,
|
|
101
|
+
default: true
|
|
102
|
+
},
|
|
98
103
|
modelValue: Array,
|
|
99
104
|
errors: Array as PropType<string[]>
|
|
100
105
|
},
|
|
@@ -118,7 +123,8 @@ export default defineComponent({
|
|
|
118
123
|
|
|
119
124
|
computed : {
|
|
120
125
|
allowMultiple() {
|
|
121
|
-
return (this.field.extra_data && this.field.extra_data.multiple);
|
|
126
|
+
// return (this.field.extra_data && this.field.extra_data.multiple);
|
|
127
|
+
return true;
|
|
122
128
|
},
|
|
123
129
|
|
|
124
130
|
allowedMimeTypes() {
|
|
@@ -756,6 +756,8 @@ export default defineComponent({
|
|
|
756
756
|
margin-top: -10px;
|
|
757
757
|
|
|
758
758
|
.search {
|
|
759
|
+
border-bottom: 1px solid $grey-3;
|
|
760
|
+
|
|
759
761
|
.query-too-short {
|
|
760
762
|
display: block;
|
|
761
763
|
padding: 10px 15px;
|
|
@@ -763,7 +765,6 @@ export default defineComponent({
|
|
|
763
765
|
color: $negative;
|
|
764
766
|
border-top: 1px solid $negative;
|
|
765
767
|
}
|
|
766
|
-
border-bottom: 1px solid $grey-3;
|
|
767
768
|
}
|
|
768
769
|
|
|
769
770
|
.loading {
|