From 2a28e05a7716811ef043d9cabb66319e05e50698 Mon Sep 17 00:00:00 2001 From: Nithin David Thomas Date: Sat, 13 Mar 2021 11:46:08 +0530 Subject: [PATCH] Fix: Make pre-chat message minimum length to 1 (#1898) --- app/javascript/widget/components/PreChat/Form.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/widget/components/PreChat/Form.vue b/app/javascript/widget/components/PreChat/Form.vue index 8871bc7da..6c314a1dc 100644 --- a/app/javascript/widget/components/PreChat/Form.vue +++ b/app/javascript/widget/components/PreChat/Form.vue @@ -85,7 +85,7 @@ export default { const messageValidation = { message: { required, - minLength: minLength(10), + minLength: minLength(1), }, }; if (this.options.requireEmail) {