Browse Source

Keyword fix on search Tab

master
George Williams 5 years ago
parent
commit
8cedb54d4a
1 changed files with 10 additions and 4 deletions
  1. 10
    4
      src/components/shared/searchTab.vue

+ 10
- 4
src/components/shared/searchTab.vue View File

@@ -11,7 +11,12 @@
11 11
           <div class="col-md-12">
12 12
             <div class="form-group" style="text-align:left">
13 13
               <label for="Type">Keyword</label>
14
-              <input type="text" class="form-control" placeholder="Keyword" v-model="keyword" />
14
+              <input
15
+                type="text"
16
+                class="form-control"
17
+                placeholder="Keyword"
18
+                v-model="propertySearch.keyword"
19
+              />
15 20
             </div>
16 21
           </div>
17 22
           <div class="col-md-12">
@@ -90,9 +95,9 @@
90 95
 </template>
91 96
 
92 97
 <script>
93
-import { mapState, mapActions } from "vuex";
94
-import propertySearch from "../property/propertySearchFields.vue";
95
-import timeshareSearch from "../timeshare/searchTimeshare.vue";
98
+import { mapState } from 'vuex';
99
+import propertySearch from '../property/propertySearchFields.vue';
100
+import timeshareSearch from '../timeshare/searchTimeshare.vue';
96 101
 
97 102
 export default {
98 103
   components: {
@@ -103,6 +108,7 @@ export default {
103 108
     return {
104 109
       selectedPropertyType: 'timeshare',
105 110
       propertySearch: {
111
+        keyword: '',
106 112
         userName: '',
107 113
         salesType: 'Sale',
108 114
         propertyUsageType: 'All',

Loading…
Cancel
Save