Remove unneeded code. Change hardcoded widget name.

This commit is contained in:
Bryan Mauger 2023-06-05 13:51:58 -04:00
parent e100121e89
commit 289c6e3d4c
2 changed files with 1 additions and 4 deletions

View file

@ -22,7 +22,7 @@ export default {
name: "checkboxQuestion",
computed: {
checkboxLabelCopy() {
return this.getCmsContent("TextMeQuestionWidget", "QuestionText");
return this.getCmsContent(this.cmsWidgetName, "QuestionText");
},
value: {
get: function () {

View file

@ -117,9 +117,6 @@ export default {
filterNumber() {
this.selectedValue = this.selectedValue.replace(/1/g, '');
},
onKeyDown(event) {
this.formatPhoneNumber(event.target.value + event.key);
},
},
watch: {
async value(newValue) {