CSR-1399
Not all cms answers use name field
This commit is contained in:
parent
f18e00caed
commit
458b0d19cc
2 changed files with 8 additions and 2 deletions
|
|
@ -142,7 +142,12 @@ export default {
|
||||||
var eventLabel = "";
|
var eventLabel = "";
|
||||||
//build comma separated list of all items in button list that we are going to display on page
|
//build comma separated list of all items in button list that we are going to display on page
|
||||||
this.answers.forEach((item) => {
|
this.answers.forEach((item) => {
|
||||||
eventLabel += item.Name + ",";
|
if (item.Name){
|
||||||
|
eventLabel += item.Name + ",";
|
||||||
|
}
|
||||||
|
if (item.buttonLabel) {
|
||||||
|
eventLabel += item.buttonLabel + ",";
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
eventLabel = eventLabel.slice(0, -1); //remove the last comma
|
eventLabel = eventLabel.slice(0, -1); //remove the last comma
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,8 @@
|
||||||
:buttonTypeObject="servicePackageRadio"
|
:buttonTypeObject="servicePackageRadio"
|
||||||
v-model="selectedPackageName"
|
v-model="selectedPackageName"
|
||||||
:validationRules="validationRules"
|
:validationRules="validationRules"
|
||||||
:isRequired="isRequired" />
|
:isRequired="isRequired"
|
||||||
|
:logDisplayedValuesEvent="true" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue