@westartcom/bread-quasar-fields 0.1.15 → 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
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@westartcom/bread-quasar-fields",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "description": "Quasar compatible fields for bread package",
5
5
  "main": "index.js",
6
6
  "scripts": {