diff --git a/src/client/components/ui/input.vue b/src/client/components/ui/input.vue
index f95582ff8b..4b45ff3abc 100644
--- a/src/client/components/ui/input.vue
+++ b/src/client/components/ui/input.vue
@@ -2,66 +2,51 @@
@@ -69,7 +54,7 @@
diff --git a/src/client/pages/test.vue b/src/client/pages/test.vue
index ed037654cd..6e8a615389 100644
--- a/src/client/pages/test.vue
+++ b/src/client/pages/test.vue
@@ -14,6 +14,9 @@
With cancel button
+
+ With input field
+
Show
@@ -47,8 +50,9 @@ export default defineComponent({
return {
dialogTitle: 'Hello',
dialogBody: 'World!',
- dialogResult: null,
dialogCancel: false,
+ dialogInput: false,
+ dialogResult: null,
faExclamationTriangle
}
},
@@ -59,6 +63,7 @@ export default defineComponent({
title: this.dialogTitle,
text: this.dialogBody,
showCancelButton: this.dialogCancel,
+ input: this.dialogInput ? {} : null
});
}
}