diff --git a/resources/vue/components/StudipDialog.vue b/resources/vue/components/StudipDialog.vue
index 499cb6c24c1445bf38b558be406a876ae43656ea..5de97ebdfeadaf1f750957cc2684b7f1be44bf4a 100644
--- a/resources/vue/components/StudipDialog.vue
+++ b/resources/vue/components/StudipDialog.vue
@@ -120,12 +120,12 @@ export default {
     },
     props: {
         height: {
-            type: String,
-            default: '300'
+            type: [String, Number],
+            default: 300
         },
         width: {
-            type: String,
-            default: '450'
+            type: [String, Number],
+            default: 450
         },
         title: String,
         confirmText: String,