@afeefa/vue-app 0.0.135 → 0.0.136
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/.afeefa/package/release/version.txt +1 -1
- package/package.json +1 -1
- package/src/components/ADatePicker.vue +1 -1
- package/src/components/ARichTextArea.vue +1 -1
- package/src/components/ATextArea.vue +1 -1
- package/src/components/ATextField.vue +4 -0
- package/src/components/form/FormFieldMixin.js +1 -1
- package/src-admin/components/App.vue +1 -0
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.136
|
package/package.json
CHANGED
@@ -75,7 +75,7 @@ export default class ADatePicker extends Mixins(ComponentWidthMixin, UsesPositio
|
|
75
75
|
}
|
76
76
|
|
77
77
|
get clearable () {
|
78
|
-
if (this.validator && this.validator.
|
78
|
+
if (this.validator && this.validator.getParam('filled')) {
|
79
79
|
return false
|
80
80
|
}
|
81
81
|
return true
|
@@ -121,6 +121,10 @@ export default class ATextField extends Mixins(ComponentWidthMixin) {
|
|
121
121
|
} else {
|
122
122
|
value = this.internalValue.match(/^-?\d*(\.\d+)?$/) ? parseFloat(this.internalValue) : NaN
|
123
123
|
}
|
124
|
+
} else {
|
125
|
+
if (!value) {
|
126
|
+
value = this.emptyValue
|
127
|
+
}
|
124
128
|
}
|
125
129
|
return value
|
126
130
|
}
|
@@ -64,7 +64,7 @@ export class FormFieldMixin extends Vue {
|
|
64
64
|
|
65
65
|
const options = []
|
66
66
|
|
67
|
-
if (!this.validator || !this.validator.
|
67
|
+
if (!this.validator || !this.validator.getParam('filled')) {
|
68
68
|
options.push({
|
69
69
|
itemText: 'Keine Auswahl',
|
70
70
|
itemValue: null
|