remove labelText code. FMG does not have this.

This commit is contained in:
Bill Richardson 2024-05-22 11:54:02 -04:00
parent 544bc087c3
commit e898cb4e23

View file

@ -8,7 +8,7 @@
:aria-label="questionText"
class="form-label"
:class="[questionAlignment === 'center' ? 'text-center w-100 mb-5' : '']"
v-html="labelText"></label>
v-html="questionText"></label>
<div
class="input-wrapper"
:class="[
@ -162,30 +162,6 @@ export default {
this.$emit('update:modelValue', newValue);
}
},
labelText: {
get() {
const noBreakChar = '&NoBreak;';
let questionText = '';
if (this.disableAutoFill) {
const words = this.questionText.toString().split(/[ ]+/);
words.forEach((word) => {
const position = 1;
const newWord = [
word.toString().slice(0, position),
noBreakChar,
word.toString().slice(position)
].join('');
questionText += `${newWord} `;
});
questionText = questionText.trimEnd();
} else {
questionText = this.questionText.toString();
}
return questionText;
}
},
getMaskFromProp() {
if (this.mask) {
if (this.mask.mask) {