vueless 0.0.717 → 0.0.718
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/ui.form-input/UInput.vue +1 -5
package/package.json
CHANGED
package/ui.form-input/UInput.vue
CHANGED
|
@@ -96,10 +96,6 @@ const inputValue = computed({
|
|
|
96
96
|
set: (value) => emit("update:modelValue", value),
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
const applyPasswordClasses = computed(() => {
|
|
100
|
-
return Boolean(inputValue.value && !isShownPassword.value && isTypePassword.value);
|
|
101
|
-
});
|
|
102
|
-
|
|
103
99
|
const elementId = props.id || useId();
|
|
104
100
|
|
|
105
101
|
const inputType = computed(() => {
|
|
@@ -237,7 +233,7 @@ const mutatedProps = computed(() => ({
|
|
|
237
233
|
error: Boolean(props.error),
|
|
238
234
|
label: Boolean(props.label),
|
|
239
235
|
/* component state, not a props */
|
|
240
|
-
typePassword:
|
|
236
|
+
typePassword: Boolean(inputValue.value && !isShownPassword.value && isTypePassword.value),
|
|
241
237
|
}));
|
|
242
238
|
|
|
243
239
|
const {
|