+
@@ -310,7 +310,7 @@ module ReturnUrl = {
@@ -325,8 +325,9 @@ type options = {
module CollectDetails = {
@react.component
- let make = (~title, ~options: array
) => {
+ let make = (~title, ~subTitle, ~options: array) => {
open LogicUtils
+ open FormRenderer
let formState: ReactFinalForm.formState = ReactFinalForm.useFormState(
ReactFinalForm.useFormSubscription(["values"])->Nullable.make,
)
@@ -357,37 +358,43 @@ module CollectDetails = {
}
None
}, [isSelected])
-
-
-
-
setIsSelected(val => !val)}
- isDisabled=false
- boolCustomClass="rounded-lg"
- />
- {title->React.string}
-
-
-
- {options
- ->Array.mapWithIndex((option, index) =>
-
Int.toString}
- className="flex gap-2 mb-3 items-center cursor-pointer"
- onClick={_ => onClick(option.key)}>
-
getBool(option.key, false)} fill="text-green-700"
- />
-
- {option.name->LogicUtils.snakeToTitle->React.string}
-
-
- )
- ->React.array}
+
+
+
+
+
{title->React.string}
+
+ {subTitle->React.string}
+
+
+
setIsSelected(val => !val)}
+ isDisabled=false
+ boolCustomClass="rounded-lg"
+ />
-
-
+
+
+ {options
+ ->Array.mapWithIndex((option, index) =>
+
Int.toString}
+ className="flex gap-2 mb-3 items-center cursor-pointer"
+ onClick={_ => onClick(option.key)}>
+
getBool(option.key, false)} fill="text-green-700"
+ />
+
+ {option.name->LogicUtils.snakeToTitle->React.string}
+
+
+ )
+ ->React.array}
+
+
+
+
}
}
@@ -416,8 +423,8 @@ module AutoRetries = {
<>
@@ -462,8 +469,8 @@ module ClickToPaySection = {
{
: "px-2 py-4"} flex flex-col gap-7 overflow-hidden`}>
@@ -619,48 +626,50 @@ let make = (~webhookOnly=false, ~showFormOnly=false, ~profileId="") => {
isCopy=true
/>
-
-
-
-
+
+
+
+
{
->Array.map(item => item.connector_name)
->authenticationConnectors}
errorClass
- labelClass="!text-base !text-grey-700 font-semibold"
+ labelClass="!text-fs-15 !text-grey-700 font-semibold "
fieldWrapperClass="max-w-xl"
/>
-
-
-