fix: Added validation for check box in the pre-chat form (#5648)

This commit is contained in:
Sivin Varghese
2022-10-18 03:30:02 +05:30
committed by GitHub
parent 20b4a91122
commit 444809cc68

View File

@@ -245,6 +245,7 @@ export default {
text: null, text: null,
select: null, select: null,
number: null, number: null,
checkbox: false,
}; };
const validationKeys = Object.keys(validations); const validationKeys = Object.keys(validations);
const validation = 'bail|required'; const validation = 'bail|required';