File tree Expand file tree Collapse file tree 1 file changed +31
-1
lines changed
frontend/src/features/admin/inbox Expand file tree Collapse file tree 1 file changed +31
-1
lines changed Original file line number Diff line number Diff line change 89
89
type =" text"
90
90
placeholder =" INBOX"
91
91
v-bind =" componentField"
92
- :defaultValue =" 'INBOX'"
93
92
/>
94
93
</FormControl >
95
94
<FormDescription >
@@ -396,6 +395,37 @@ const props = defineProps({
396
395
const { t } = useI18n ()
397
396
const form = useForm ({
398
397
validationSchema: toTypedSchema (createFormSchema (t)),
398
+ initialValues: {
399
+ name: ' ' ,
400
+ from: ' ' ,
401
+ enabled: false ,
402
+ csat_enabled: false ,
403
+ imap: {
404
+ host: ' imap.gmail.com' ,
405
+ port: 993 ,
406
+ mailbox: ' INBOX' ,
407
+ username: ' ' ,
408
+ password: ' ' ,
409
+ tls_type: ' none' ,
410
+ read_interval: ' 5m' ,
411
+ scan_inbox_since: ' 48h' ,
412
+ tls_skip_verify: false
413
+ },
414
+ smtp: {
415
+ host: ' smtp.gmail.com' ,
416
+ port: 587 ,
417
+ username: ' ' ,
418
+ password: ' ' ,
419
+ max_conns: 10 ,
420
+ max_msg_retries: 3 ,
421
+ idle_timeout: ' 25s' ,
422
+ wait_timeout: ' 60s' ,
423
+ auth_protocol: ' login' ,
424
+ tls_type: ' none' ,
425
+ hello_hostname: ' ' ,
426
+ tls_skip_verify: false
427
+ }
428
+ }
399
429
})
400
430
401
431
const submitLabel = computed (() => {
You can’t perform that action at this time.
0 commit comments