WIP remove unneeded code.
This commit is contained in:
parent
4ddefb6d50
commit
137d5d41e8
1 changed files with 3 additions and 5 deletions
|
|
@ -4,10 +4,11 @@
|
|||
<label for="textarea-comments" class="fw-bold" v-html="TextAreaContentWidget"></label> <span v-if="!isRequired" class="fw-normal ms-1">(Optional)</span>
|
||||
</div>
|
||||
<textarea
|
||||
rows="4"
|
||||
id="textarea-comments"
|
||||
class="p-4"
|
||||
:maxlength=maxLength
|
||||
role="textbox"
|
||||
aria-multiline="true"
|
||||
:aria-required=isRequired>
|
||||
</textarea>
|
||||
<p tabindex="0" class="caption mt-2 mb-0" id="charactersremaining">
|
||||
|
|
@ -51,9 +52,6 @@ export default {
|
|||
TextAreaContentWidget() {
|
||||
return this.getCmsContent(this.cmsWidgetName, "QuestionText");
|
||||
},
|
||||
setUpTest() {
|
||||
this.enableRemainingCounter();
|
||||
},
|
||||
value: {
|
||||
get: function () {
|
||||
return this.modelValue;
|
||||
|
|
@ -63,7 +61,7 @@ export default {
|
|||
},
|
||||
},
|
||||
},
|
||||
mounted: function () {
|
||||
mounted: function () { //Remaining characters countdown
|
||||
const my_textarea = document.getElementById("textarea-comments");
|
||||
const remaining = document.getElementById("charactersremaining");
|
||||
const remain = this.maxLength;
|
||||
|
|
|
|||
Loading…
Reference in a new issue