fix issue raised from cursor

This commit is contained in:
SujathaAnishetty 2026-01-07 15:35:38 -05:00
parent 43449e706c
commit 65cf5df20e
2 changed files with 8 additions and 2 deletions

View file

@ -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">

View file

@ -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"