remove labelText code. FMG does not have this.
This commit is contained in:
parent
544bc087c3
commit
e898cb4e23
1 changed files with 1 additions and 25 deletions
|
|
@ -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 = '⁠';
|
||||
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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue