From 898a9597556faf9b379de29b05a1fe583a4a71bc Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Thu, 12 Dec 2024 17:57:59 +0530 Subject: [PATCH] fix: required --- .../dashboard/components-next/message/bubbles/Text/Index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/dashboard/components-next/message/bubbles/Text/Index.vue b/app/javascript/dashboard/components-next/message/bubbles/Text/Index.vue index 1f61c081f..dc573760e 100644 --- a/app/javascript/dashboard/components-next/message/bubbles/Text/Index.vue +++ b/app/javascript/dashboard/components-next/message/bubbles/Text/Index.vue @@ -33,7 +33,7 @@ const props = defineProps({ }, messageType: { type: Number, - default: '', + required: true, validator: value => Object.values(MESSAGE_TYPES).includes(value), }, });