@@ -283,8 +283,8 @@ class="flex flex-col gap-4"
283
283
< / p>
284
284
< / div>
285
285
286
- < div class = " block w-full overflow-x-auto " >
287
- < x- admin:: table class = " !w-1/2" >
286
+ < div class = " block w-full" >
287
+ < x- admin:: table class = " !w-1/2 !table-auto " >
288
288
<!-- Table Head -->
289
289
< x- admin:: table .thead >
290
290
< x- admin:: table .thead .tr >
@@ -339,7 +339,7 @@ class="text-md flex max-w-max items-center gap-2 text-brandColor"
339
339
type =" text/x-template"
340
340
id =" v-workflow-condition-item-template"
341
341
>
342
- < div class = " flex justify-between gap-4" >
342
+ < div class = " flex items-center justify-between gap-4" >
343
343
< div class = " flex flex-1 gap-4 max-sm:flex-1 max-sm:flex-wrap" >
344
344
<!-- Select main condition. -->
345
345
< select
@@ -490,11 +490,15 @@ class="custom-select inline-flex h-10 w-1/3 items-center justify-between gap-x-1
490
490
< template v- else >
491
491
< div class = " w-1/3" >
492
492
< v- lookup- component
493
- : attribute= " {'code': 'conditions[' + index + '][value]', 'name': 'Email', 'lookup_type': matchedAttribute.lookup_type}"
494
- validations= " required|email"
495
- : data= " condition.value"
493
+ : attribute= " {'code': 'conditions[' + index + '][value]', 'name': matchedAttribute?.name, 'lookup_type': matchedAttribute.lookup_type}"
494
+ validations= " required"
495
+ : value= " {
496
+ id: condition.value
497
+ }"
496
498
can- add- new = " true"
497
499
>< / v- lookup- component>
500
+
501
+ < x- admin:: form .control - group .error :: name= " `conditions[${index}][value]`" / >
498
502
< / div>
499
503
< / template>
500
504
< / template>
@@ -726,11 +730,15 @@ class="custom-select inline-flex h-10 w-full items-center justify-between gap-x-
726
730
< template v- else >
727
731
< div class = " w-full" >
728
732
< v- lookup- component
729
- : attribute= " {'code': 'actions[' + index + '][value]', 'name': 'Email', 'lookup_type': matchedAttribute.lookup_type}"
730
- validations= " required|email"
731
- : data= " action.value"
733
+ : attribute= " {'code': 'actions[' + index + '][value]', 'name': matchedAttribute?.name, 'lookup_type': matchedAttribute.lookup_type}"
734
+ validations= " required"
735
+ : value= " {
736
+ id: action.value
737
+ }"
732
738
can- add- new = " true"
733
739
>< / v- lookup- component>
740
+
741
+ < x- admin:: form .control - group .error :: name= " `actions[${index}][value]`" / >
734
742
< / div>
735
743
< / template>
736
744
< / template>
0 commit comments