@eturnity/eturnity_reusable_components 1.2.19-EPDM-5310.8 → 1.2.19-EPDM-5310.10
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.
package/package.json
CHANGED
|
@@ -351,7 +351,7 @@ export default {
|
|
|
351
351
|
numberPrecision: this.numberPrecision
|
|
352
352
|
})
|
|
353
353
|
: adjustedMinValue
|
|
354
|
-
let unit = this.showLinearUnitName ?
|
|
354
|
+
let unit = this.showLinearUnitName ? this.unitName : ''
|
|
355
355
|
return input + ' ' + unit
|
|
356
356
|
} else if (!adjustedMinValue && adjustedMinValue !== 0) {
|
|
357
357
|
return ''
|
|
@@ -217,7 +217,7 @@ export default {
|
|
|
217
217
|
required: false,
|
|
218
218
|
default: "medium", // small, medium, large
|
|
219
219
|
},
|
|
220
|
-
|
|
220
|
+
name: {
|
|
221
221
|
required: false,
|
|
222
222
|
default: ''
|
|
223
223
|
}
|
|
@@ -225,6 +225,7 @@ export default {
|
|
|
225
225
|
data() {
|
|
226
226
|
return {
|
|
227
227
|
selectedImage: null,
|
|
228
|
+
radioName: ''
|
|
228
229
|
}
|
|
229
230
|
},
|
|
230
231
|
methods: {
|
|
@@ -239,9 +240,7 @@ export default {
|
|
|
239
240
|
},
|
|
240
241
|
},
|
|
241
242
|
created() {
|
|
242
|
-
|
|
243
|
-
this.radioName = Math.round(Math.random() * 10000)
|
|
244
|
-
}
|
|
243
|
+
this.radioName = this.name.length === 0 ? Math.round(Math.random() * 10000) : this.name
|
|
245
244
|
},
|
|
246
245
|
}
|
|
247
246
|
</script>
|