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
           <div class="col-md-12">
11
           <div class="col-md-12">
12
             <div class="form-group" style="text-align:left">
12
             <div class="form-group" style="text-align:left">
13
               <label for="Type">Keyword</label>
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
             </div>
20
             </div>
16
           </div>
21
           </div>
17
           <div class="col-md-12">
22
           <div class="col-md-12">
90
 </template>
95
 </template>
91
 
96
 
92
 <script>
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
 export default {
102
 export default {
98
   components: {
103
   components: {
103
     return {
108
     return {
104
       selectedPropertyType: 'timeshare',
109
       selectedPropertyType: 'timeshare',
105
       propertySearch: {
110
       propertySearch: {
111
+        keyword: '',
106
         userName: '',
112
         userName: '',
107
         salesType: 'Sale',
113
         salesType: 'Sale',
108
         propertyUsageType: 'All',
114
         propertyUsageType: 'All',

Loading…
Cancel
Save