@@ -99,8 +99,8 @@ function handleGo(path: string) {
name="username"
:placeholder="$t('authentication.username')"
type="text"
+ required
:autofocus="false"
- @keyup.enter="handleSubmit"
/>
diff --git a/packages/business/common-ui/src/preference/blocks/select-item.vue b/packages/business/common-ui/src/preference/blocks/select-item.vue
index 07f7a2af..d1ecf7d6 100644
--- a/packages/business/common-ui/src/preference/blocks/select-item.vue
+++ b/packages/business/common-ui/src/preference/blocks/select-item.vue
@@ -19,7 +19,7 @@ defineOptions({
withDefaults(
defineProps<{
- disabled: boolean;
+ disabled?: boolean;
items?: SelectListItem[];
placeholder?: string;
}>(),
diff --git a/packages/business/common-ui/src/preference/blocks/switch-item.vue b/packages/business/common-ui/src/preference/blocks/switch-item.vue
index bf1cee2a..a4a4a684 100644
--- a/packages/business/common-ui/src/preference/blocks/switch-item.vue
+++ b/packages/business/common-ui/src/preference/blocks/switch-item.vue
@@ -8,7 +8,7 @@ defineOptions({
name: 'PreferenceSwitchItem',
});
-withDefaults(defineProps<{ disabled: boolean }>(), {
+withDefaults(defineProps<{ disabled?: boolean }>(), {
disabled: false,
});
diff --git a/packages/business/common-ui/src/preference/blocks/toggle-item.vue b/packages/business/common-ui/src/preference/blocks/toggle-item.vue
index 6e83452c..0ab78711 100644
--- a/packages/business/common-ui/src/preference/blocks/toggle-item.vue
+++ b/packages/business/common-ui/src/preference/blocks/toggle-item.vue
@@ -7,7 +7,7 @@ defineOptions({
name: 'PreferenceToggleItem',
});
-withDefaults(defineProps<{ disabled: boolean; items: SelectListItem[] }>(), {
+withDefaults(defineProps<{ disabled?: boolean; items: SelectListItem[] }>(), {
disabled: false,
items: () => [],
});