update for dropdown inactive errors on form submit
This commit is contained in:
parent
f03b421a2f
commit
5cc887f661
1 changed files with 3 additions and 9 deletions
|
|
@ -31,7 +31,7 @@
|
|||
</option>
|
||||
</select>
|
||||
<div
|
||||
v-show="errorMessage"
|
||||
v-show="errorMessage && !isDisabled"
|
||||
class="row mt-1 form-test-error">
|
||||
<span role="alert">{{ errorMessage }}</span>
|
||||
</div>
|
||||
|
|
@ -79,9 +79,7 @@ export default {
|
|||
initialValue
|
||||
};
|
||||
|
||||
const { errorMessage, handleBlur, handleChange, meta, errors } = useField(props.inputId,
|
||||
props.validationRules,
|
||||
fieldOptions);
|
||||
const { errorMessage, handleBlur, handleChange, meta, errors } = useField(props.inputId, props.validationRules, fieldOptions);
|
||||
|
||||
return {
|
||||
errorMessage,
|
||||
|
|
@ -111,11 +109,7 @@ export default {
|
|||
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('');
|
||||
const newWord = [word.toString().slice(0, position), noBreakChar, word.toString().slice(position)].join('');
|
||||
questionText += `${newWord} `;
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue