fix issue raised from cursor
This commit is contained in:
parent
43449e706c
commit
65cf5df20e
2 changed files with 8 additions and 2 deletions
|
|
@ -1,7 +1,10 @@
|
|||
<template>
|
||||
<div
|
||||
class="textarea-question"
|
||||
:class="(errors && errors.length) ? 'has-error' : 'has-success'">
|
||||
:class="[
|
||||
(errors && errors.length) ? 'has-error' : '',
|
||||
(meta?.valid && meta?.touched && !(errors && errors.length)) ? 'has-success' : ''
|
||||
]">
|
||||
<label
|
||||
:for="inputId"
|
||||
class="form-label">
|
||||
|
|
|
|||
|
|
@ -1,7 +1,10 @@
|
|||
<template>
|
||||
<div
|
||||
class="textbox-question"
|
||||
:class="(errors && errors.length) || hasError ? 'has-error' : 'has-success'">
|
||||
:class="[
|
||||
((errors && errors.length) || hasError) ? 'has-error' : '',
|
||||
(meta?.valid && meta?.touched && !((errors && errors.length) || hasError)) ? 'has-success' : ''
|
||||
]">
|
||||
<label
|
||||
v-if="displayQuestionText"
|
||||
:for="inputId"
|
||||
|
|
|
|||
Loading…
Reference in a new issue