rmlworkorder major upgrade
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
Vue.component('tt-modal', {
|
||||
props: {
|
||||
show: {type: Boolean, default: false},
|
||||
show: {type: [Boolean, Object], default: false},
|
||||
title: {type: String, default: 'Überschrift'},
|
||||
delete: {type: Boolean, default: true},
|
||||
deleteText: {type: String, default: 'Löschen'},
|
||||
|
||||
@@ -10,6 +10,12 @@ Vue.component('tt-number-range', {
|
||||
};
|
||||
}, watch: {
|
||||
value(val) {
|
||||
if (typeof val === 'undefined' || val === null || val === '') {
|
||||
this.inputValueFrom = '';
|
||||
this.inputValueTo = '';
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.returnText !== true) {
|
||||
this.inputValueFrom = val.from;
|
||||
this.inputValueTo = val.to;
|
||||
|
||||
Reference in New Issue
Block a user