Move text align to label from input.

This commit is contained in:
Bryan Mauger 2022-11-16 19:58:48 -05:00
parent 6f86e094b9
commit 4ec3cfb1b9

View file

@ -4,6 +4,7 @@
:for="inputId"
:aria-label="questionText"
class="form-label"
:class="[questionAlignment === 'center' ? 'text-center w-100' : '']"
v-html="labelText"></label>
<div class="input-wrapper" :class="[includeSearchIcon ? 'has-search-icon' : '']">
<input
@ -22,7 +23,6 @@
:class="[
hasIcon ? 'has-icon' : '',
iconRight ? 'icon-right' : '',
questionAlignment === 'center' ? 'text-center' : '',
cornerStyle === 'rounded' ? 'rounded-pill' : '',
]"
:validationRules="validationRules"