CSR-762 Remove redundant property'
This commit is contained in:
parent
bdefe44235
commit
0e3b1d79b8
8 changed files with 6 additions and 19 deletions
|
|
@ -26,10 +26,7 @@
|
|||
import { useField } from "vee-validate";
|
||||
import { toRef } from "vue";
|
||||
import { queryStrings } from "@/constants/query-strings";
|
||||
import {
|
||||
handleInputFocus,
|
||||
handleInputBlur,
|
||||
} from "@/helpers/analytics-helper";
|
||||
import { handleInputFocus, handleInputBlur } from "@/helpers/analytics-helper";
|
||||
import { inputButtonProps } from "@/common-components/base-input-button/button-functionality-props";
|
||||
|
||||
export default {
|
||||
|
|
@ -72,9 +69,9 @@ export default {
|
|||
);
|
||||
break;
|
||||
case this.eventTypes.CHANGE:
|
||||
this.selectOnKeypress
|
||||
? this.handleClick(e)
|
||||
: this.handleSelectionChange(e);
|
||||
this.selectingInitiatesLoad
|
||||
? this.handleSelectionChange(e)
|
||||
: this.handleClick(e);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ export const inputButtonProps = {
|
|||
},
|
||||
lastValuePushedToGa: [String, Number],
|
||||
setLastValuePushedToGa: Function,
|
||||
selectOnKeypress: {
|
||||
selectingInitiatesLoad: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
default: false,
|
||||
},
|
||||
}
|
||||
|
|
@ -49,7 +49,6 @@
|
|||
:isWide="isWide"
|
||||
:validationRules="validationRules"
|
||||
:textPosition="textPosition"
|
||||
:selectOnKeypress="selectOnKeypress"
|
||||
:lastValuePushedToGa="lastValuePushedToGa"
|
||||
:setLastValuePushedToGa="setLastValuePushedToGa"
|
||||
v-model="selectedValues"
|
||||
|
|
@ -117,10 +116,6 @@ export default {
|
|||
suppressError: Boolean,
|
||||
useTextForValue: Boolean,
|
||||
valueToLogType: String,
|
||||
selectOnKeypress: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
groupName="ChooseVehicleMake"
|
||||
textPosition="text-start"
|
||||
v-model="selectedValue"
|
||||
:selectOnKeypress="false"
|
||||
isRequired
|
||||
/>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
groupName="ChooseVehicleModel"
|
||||
textPosition="text-start"
|
||||
v-model="selectedValue"
|
||||
:selectOnKeypress="false"
|
||||
isRequired
|
||||
/>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
groupName="ChooseVehicleStyle"
|
||||
textPosition="text-start"
|
||||
v-model="selectedValue"
|
||||
:selectOnKeypress="false"
|
||||
isRequired
|
||||
/>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
groupName="ChooseVehicleYear"
|
||||
textPosition="text-start"
|
||||
v-model="selectedValue"
|
||||
:selectOnKeypress="false"
|
||||
isRequired
|
||||
/>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -49,7 +49,6 @@ export default {
|
|||
const currentPageName = getPageNameByQueryString();
|
||||
const labelToLog = getValueToLog(label, valueToLogType);
|
||||
|
||||
console.log("PUSHING: ", labelToLog)
|
||||
const eventToBePushed = {
|
||||
'event': GaEvents.GENERIC_EVENT,
|
||||
'category': category,
|
||||
|
|
|
|||
Loading…
Reference in a new issue