Skip to content

Commit b6ffea1

Browse files
committed
Add watcher for value changes to trigger lookup entity retrieval
1 parent 5fdc860 commit b6ffea1

File tree

1 file changed

+6
-0
lines changed
  • packages/Webkul/Admin/src/Resources/views/components/attributes/edit

1 file changed

+6
-0
lines changed

packages/Webkul/Admin/src/Resources/views/components/attributes/edit/lookup.blade.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,12 @@ class="px-4 py-2 text-center text-gray-500"
143143
searchTerm(newVal, oldVal) {
144144
this.search();
145145
},
146+
147+
value(newVal, oldVal) {
148+
if (newVal) {
149+
this.getLookUpEntity();
150+
}
151+
},
146152
},
147153
148154
mounted() {

0 commit comments

Comments
 (0)