Select and date vue component fixes.

This commit is contained in:
Cüneyt Şentürk
2020-02-14 14:56:58 +03:00
parent 259a771bbf
commit aa97e6ab16
15 changed files with 161 additions and 79 deletions

View File

@ -419,13 +419,17 @@ export default {
description: "Selectbox attribute name"
},
value: {
type: String,
type: [String, Number],
default: null,
description: "Selectbox selected value"
},
options: null,
model: null,
model: {
type: [String, Number],
default: null,
description: "Selectbox selected model"
},
icon: {
type: String,
@ -605,7 +609,10 @@ export default {
this.selectOptions = options;
},
value: function (value) {
this.real_model = value;
this.real_model = value.toString();
},
model: function (value) {
this.real_model = value.toString();
}
},
}