feat: Custom fields in pre-chat form (#4189)
This commit is contained in:
parent
1ccd29140d
commit
26f23a6e21
25 changed files with 824 additions and 160 deletions
|
@ -17,8 +17,12 @@ export default {
|
|||
value: { type: Boolean, default: false },
|
||||
},
|
||||
methods: {
|
||||
onClick() {
|
||||
this.$emit('input', !this.value);
|
||||
onClick(event) {
|
||||
if (event.pointerId === -1) {
|
||||
event.preventDefault();
|
||||
} else {
|
||||
this.$emit('input', !this.value);
|
||||
}
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue