File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
packages/backend/src/apps
formatter/actions/date-time/transforms/add-subtract-date-time
m365-excel/actions/write-cell-values
paysg/actions/create-payment Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ export const fields: TransformSpec['fields'] = [
4949 {
5050 label : 'Specify the amount of time you want to add or subtract' ,
5151 key : ensureZodObjectKey ( fieldSchema . sourceType ( ) , 'addSubtractDateTimeOps' ) ,
52- type : 'multirow' as const ,
52+ type : 'multirow-multicol ' as const ,
5353 required : true ,
5454 subFields : [
5555 {
@@ -63,13 +63,15 @@ export const fields: TransformSpec['fields'] = [
6363 label : sentenceCase ( op ) ,
6464 value : op ,
6565 } ) ) ,
66+ customStyle : { flex : 1 } ,
6667 } ,
6768 {
6869 placeholder : 'Amount of time to add or subtract (number)' ,
6970 key : ensureZodObjectKey ( opsSchema , 'timeAmount' ) ,
7071 type : 'string' as const ,
7172 required : true ,
7273 variables : true ,
74+ customStyle : { flex : 2 } ,
7375 } ,
7476 {
7577 placeholder : 'Unit of time to add or subtract' ,
@@ -82,6 +84,7 @@ export const fields: TransformSpec['fields'] = [
8284 label : sentenceCase ( unit ) ,
8385 value : unit ,
8486 } ) ) ,
87+ customStyle : { flex : 2 } ,
8588 } ,
8689 ] ,
8790 } ,
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ const action: IRawAction = {
6161 {
6262 label : 'Values' ,
6363 key : 'cells' ,
64- type : 'multirow' as const ,
64+ type : 'multirow-multicol ' as const ,
6565 required : true ,
6666 // We need to make 1 separate request for each cell, so limit to 3 as a
6767 // balance between convenience and API quota usage.
@@ -74,13 +74,15 @@ const action: IRawAction = {
7474 type : 'string' as const ,
7575 required : true ,
7676 variables : true ,
77+ customStyle : { flex : 1 } ,
7778 } ,
7879 {
7980 label : 'Value' ,
8081 key : 'value' ,
8182 type : 'string' as const ,
8283 required : false ,
8384 variables : true ,
85+ customStyle : { flex : 1 } ,
8486 } ,
8587 ] ,
8688 } ,
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ const action: IRawAction = {
8181 {
8282 label : 'Metadata' ,
8383 key : 'metadata' ,
84- type : 'multirow' as const ,
84+ type : 'multirow-multicol ' as const ,
8585 required : false ,
8686 subFields : [
8787 {
@@ -90,13 +90,15 @@ const action: IRawAction = {
9090 type : 'string' as const ,
9191 required : true ,
9292 variables : true ,
93+ customStyle : { flex : 2 } ,
9394 } ,
9495 {
9596 placeholder : 'Value' ,
9697 key : 'value' ,
9798 type : 'string' as const ,
9899 required : true ,
99100 variables : true ,
101+ customStyle : { flex : 3 } ,
100102 } ,
101103 ] ,
102104 } ,
You can’t perform that action at this time.
0 commit comments