🐛 fix: bug fixed
This commit is contained in:
parent
10e23a05f7
commit
e4670e3d18
|
@ -87,8 +87,8 @@ const labelState = computed(() => {
|
||||||
v-bind="attrs"
|
v-bind="attrs"
|
||||||
:class="[styles['text-body-MD-standard-text-Regular'], {
|
:class="[styles['text-body-MD-standard-text-Regular'], {
|
||||||
'p-password': true,
|
'p-password': true,
|
||||||
'error': props.isInvalid && !props.isValid && !props.disabled,
|
'error': props.isInvalid && !props.isValid && !props.disabled || !!props.errorMessage,
|
||||||
'success': !props.isInvalid && props.isValid && !props.disabled,
|
'success': !props.isInvalid && props.isValid && !props.disabled && !props.errorMessage || !!props.validMessage,
|
||||||
}]"
|
}]"
|
||||||
:disabled="props.disabled"
|
:disabled="props.disabled"
|
||||||
:aria-disabled="props.disabled"
|
:aria-disabled="props.disabled"
|
||||||
|
@ -148,8 +148,8 @@ const labelState = computed(() => {
|
||||||
v-bind="attrs"
|
v-bind="attrs"
|
||||||
:class="[styles['text-body-MD-standard-text-Regular'], {
|
:class="[styles['text-body-MD-standard-text-Regular'], {
|
||||||
'p-textarea': true,
|
'p-textarea': true,
|
||||||
'error': props.isInvalid && !props.isValid && !props.disabled,
|
'error': props.isInvalid && !props.isValid && !props.disabled || !!props.errorMessage,
|
||||||
'success': !props.isInvalid && props.isValid && !props.disabled,
|
'success': !props.isInvalid && props.isValid && !props.disabled && !props.errorMessage || !!props.validMessage,
|
||||||
}]"
|
}]"
|
||||||
:disabled="props.disabled"
|
:disabled="props.disabled"
|
||||||
:aria-disabled="props.disabled"
|
:aria-disabled="props.disabled"
|
||||||
|
@ -166,7 +166,7 @@ const labelState = computed(() => {
|
||||||
:class="[styles['text-body-MD-standard-text-Regular'], {
|
:class="[styles['text-body-MD-standard-text-Regular'], {
|
||||||
'p-inputtext': true,
|
'p-inputtext': true,
|
||||||
'error': props.isInvalid && !props.isValid && !props.disabled || !!props.errorMessage,
|
'error': props.isInvalid && !props.isValid && !props.disabled || !!props.errorMessage,
|
||||||
'success': !props.isInvalid && props.isValid && !props.disabled && !props.errorMessage,
|
'success': !props.isInvalid && props.isValid && !props.disabled && !props.errorMessage || !!props.validMessage,
|
||||||
}]"
|
}]"
|
||||||
:disabled="props.disabled"
|
:disabled="props.disabled"
|
||||||
:aria-disabled="props.disabled"
|
:aria-disabled="props.disabled"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user