summaryrefslogtreecommitdiffstats
path: root/src/mixins/PropertyMixin.js
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2019-01-11 09:34:21 +0100
committerGitHub <noreply@github.com>2019-01-11 09:34:21 +0100
commit431b7921add28c7338785296ca025cfcf6e3c3e0 (patch)
treeed7ccb3a749b730db2050418c8b4812f1be61c9a /src/mixins/PropertyMixin.js
parentca15bd09e5c700b26f3020555ccf5a26bd26291e (diff)
Revert "fix gender field select"
Diffstat (limited to 'src/mixins/PropertyMixin.js')
-rw-r--r--src/mixins/PropertyMixin.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mixins/PropertyMixin.js b/src/mixins/PropertyMixin.js
index 342eaa75..73b3f21c 100644
--- a/src/mixins/PropertyMixin.js
+++ b/src/mixins/PropertyMixin.js
@@ -25,7 +25,7 @@ export default {
props: {
// Default property type. e.g. "WORK,HOME"
selectType: {
- type: Object,
+ type: [Object],
default: () => {}
},
// Coming fro the rfcProps Model
@@ -79,8 +79,7 @@ export default {
watch: {
/**
* Since we're updating a local data based on the value prop,
- * we need to make sure to update the local data on prop change
- * ! this prevent virtual doms to have outdated local data
+ * we need to make sure to update the local data on pop change
*/
value: function() {
this.localValue = this.value