Suppot to Lookups (#204)

* Suppot to Lookups

* Update FieldSelect.vue
pull/3759/head
elsiosanchez 2019-12-12 18:42:57 -04:00 committed by Yamel Senih
parent 739f658fea
commit 88c6e5838a
1 changed files with 7 additions and 0 deletions

View File

@ -81,6 +81,13 @@ export default {
} }
}, },
watch: { watch: {
isLoading(value) {
if (value) {
this.value = ''
} else {
this.value = this.metadata.displayColumn
}
},
valueModel(value) { valueModel(value) {
if (this.metadata.inTable) { if (this.metadata.inTable) {
this.value = value this.value = value