starting to think the paste and lazy issues were connected.
This commit is contained in:
parent
aa780e2c02
commit
9508df1699
1 changed files with 13 additions and 13 deletions
|
|
@ -13,7 +13,7 @@
|
|||
class="input-wrapper"
|
||||
:class="[
|
||||
includeSearchIcon ? 'has-search-icon' : '',
|
||||
includeSelectIcon ? 'has-select-icon' : '',
|
||||
includeSelectIcon ? 'has-select-icon' : ''
|
||||
]">
|
||||
<input
|
||||
:id="inputId"
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
:class="[
|
||||
hasIcon ? 'has-icon' : '',
|
||||
iconRight ? 'icon-right' : '',
|
||||
cornerStyle === 'rounded' ? 'rounded-pill' : '',
|
||||
cornerStyle === 'rounded' ? 'rounded-pill' : ''
|
||||
]"
|
||||
:validationRules="validationRules"
|
||||
:maxlength="maxLength ? maxLength : '999'"
|
||||
|
|
@ -74,20 +74,20 @@ export default {
|
|||
props: {
|
||||
type: {
|
||||
type: String,
|
||||
default: 'text',
|
||||
default: 'text'
|
||||
},
|
||||
placeholderText: {
|
||||
type: String,
|
||||
default: '',
|
||||
default: ''
|
||||
},
|
||||
displayQuestionText: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
default: true
|
||||
},
|
||||
modelValue: String,
|
||||
inputId: {
|
||||
type: String,
|
||||
required: true,
|
||||
required: true
|
||||
},
|
||||
isDisabled: Boolean,
|
||||
isRequired: Boolean,
|
||||
|
|
@ -96,7 +96,7 @@ export default {
|
|||
hasError: Boolean,
|
||||
mask: {
|
||||
type: String,
|
||||
default: '',
|
||||
default: ''
|
||||
},
|
||||
validationRules: String,
|
||||
cmsWidgetName: String,
|
||||
|
|
@ -107,7 +107,7 @@ export default {
|
|||
includeSelectIcon: Boolean,
|
||||
min: String,
|
||||
max: String,
|
||||
disableAutoFill: Boolean,
|
||||
disableAutoFill: Boolean
|
||||
},
|
||||
emits: ['focus', 'update:modelValue', 'textboxQuestionEvent.inputIdAssigned'],
|
||||
setup(props) {
|
||||
|
|
@ -141,7 +141,7 @@ export default {
|
|||
handleChange,
|
||||
validate,
|
||||
meta,
|
||||
errors,
|
||||
errors
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
|
|
@ -154,7 +154,7 @@ export default {
|
|||
},
|
||||
set(newValue) {
|
||||
this.$emit('update:modelValue', newValue);
|
||||
},
|
||||
}
|
||||
},
|
||||
labelText: {
|
||||
get() {
|
||||
|
|
@ -167,7 +167,7 @@ export default {
|
|||
word = [
|
||||
word.toString().slice(0, position),
|
||||
noBreakChar,
|
||||
word.toString().slice(position),
|
||||
word.toString().slice(position)
|
||||
].join('');
|
||||
questionText += `${word} `;
|
||||
});
|
||||
|
|
@ -178,8 +178,8 @@ export default {
|
|||
}
|
||||
|
||||
return questionText;
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
async value(newValue) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue