Changes to button-question component
This commit is contained in:
parent
d62e666618
commit
aa2f50199e
1 changed files with 3 additions and 3 deletions
|
|
@ -53,7 +53,7 @@ https://safelite.atlassian.net/wiki/spaces/DC/pages/76644418/Button+Question+Com
|
|||
:lastValuePushedToGa="lastValuePushedToGa"
|
||||
:setLastValuePushedToGa="setLastValuePushedToGa"
|
||||
:suppressError="suppressError"
|
||||
@nestedComponentEvent="handleNestedComponentEvent"
|
||||
@buttonEvent="handleButtonEvent"
|
||||
v-model="selectedValues" />
|
||||
<!-- For nested questions -->
|
||||
<transition name="fade" mode="out-in">
|
||||
|
|
@ -215,9 +215,9 @@ export default {
|
|||
setLastValuePushedToGa(lastValuePushedToGa) {
|
||||
this.lastValuePushedToGa = lastValuePushedToGa;
|
||||
},
|
||||
handleNestedComponentEvent(event) {
|
||||
handleButtonEvent(event) {
|
||||
const eventName = event.eventName;
|
||||
this.$emit(`${eventName}`, event.args);
|
||||
this.$emit(`buttonEvent-${eventName}`, event.args);
|
||||
},
|
||||
},
|
||||
components: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue