You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First create a **container** for the form elements using the ```skyflowClient.container(type: Skyflow.ContainerType)``` method as show below
222
+
First create a **container** for the form elements using the ```skyflowClient.container(type: Skyflow.ContainerType)``` method as shown below
223
223
224
224
```swift
225
225
let container = skyflowClient.container(type: Skyflow.ContainerType.COLLECT)
@@ -563,7 +563,7 @@ You can update the data in a vault with Skyflow Elements. Use the following step
563
563
564
564
### Step 1: Create a container
565
565
566
-
First create a **container** for the form elements using the ```skyflowClient.container(type: Skyflow.ContainerType)``` method as show below
566
+
First create a **container** for the form elements using the ```skyflowClient.container(type: Skyflow.ContainerType)``` method as shown below
567
567
568
568
```swift
569
569
let container = skyflowClient.container(type: Skyflow.ContainerType.COLLECT)
@@ -811,7 +811,7 @@ let confirmPasswordInput = CollectElementInput(
811
811
)
812
812
let confirmPassword = container?.create(input: confirmPasswordInput, options: collectElementOptions)
813
813
814
-
// mount elements on screen - errors will be shown if any of the validaitons fail
814
+
// mount elements on screen - errors will be shown if any of the validations fail
815
815
stackView.addArrangedSubview(password!)
816
816
stackView.addArrangedSubview(confirmPassword!)
817
817
```
@@ -931,7 +931,7 @@ cardHolderName.on(eventName: Skyflow.EventName.CHANGE) { state in
931
931
932
932
Helps to display custom error messages on the Skyflow Elements through the methods `setError` and `resetError` on the elements.
933
933
934
-
`setError(error: String)` method is used to set the error text for the element, when this method is trigerred, all the current errors present on the element will be overridden with the custom error message passed. This error will be displayed on the element until `resetError()` is trigerred on the same element.
934
+
`setError(error: String)` method is used to set the error text for the element, when this method is triggered, all the current errors present on the element will be overridden with the custom error message passed. This error will be displayed on the element until `resetError()` is triggered on the same element.
935
935
936
936
`resetError()` method is used to clear the custom error message that is set using `setError`.
937
937
@@ -1014,7 +1014,7 @@ Composable Elements combine multiple Skyflow Elements in a single row. The follo
1014
1014
1015
1015
### Step 1: Create a composable container
1016
1016
1017
-
First create a **container** for the form elements using the ```skyflowClient.container(type: Skyflow.ContainerType)``` method as show below
1017
+
First create a **container** for the form elements using the ```skyflowClient.container(type: Skyflow.ContainerType)``` method as shown below
1018
1018
1019
1019
```swift
1020
1020
let container = skyflowClient.container(type: Skyflow.ContainerType.COMPOSABLE, options: ContainerOptions)
Composable Elements combine multiple Skyflow Elements in a single row. The following steps create a composable element and securely update data through it.
1591
1591
1592
1592
### Step 1: Create a composable container
1593
-
First create a **container** for the form elements using the ```skyflowClient.container(type: Skyflow.ContainerType)``` method as show below
1593
+
First create a **container** for the form elements using the ```skyflowClient.container(type: Skyflow.ContainerType)``` method as shown below
Helps to display custom error messages on the Skyflow Elements through the methods `setError` and `resetError` on the elements.
2150
2150
2151
-
`setError(error: String)` method is used to set the error text for the element, when this method is trigerred, all the current errors present on the element will be overridden with the custom error message passed. This error will be displayed on the element until `resetError()` is trigerred on the same element.
2151
+
`setError(error: String)` method is used to set the error text for the element, when this method is triggered, all the current errors present on the element will be overridden with the custom error message passed. This error will be displayed on the element until `resetError()` is triggered on the same element.
2152
2152
2153
2153
`resetError()` method is used to clear the custom error message that is set using `setError`.
2154
2154
@@ -2189,7 +2189,7 @@ let cardNumberInput = Skyflow.RevealElementInput(
2189
2189
errorTextStyles: errorTextStyles,
2190
2190
label: "cardnumber",
2191
2191
altText: "XXXX XXXX XXXX XXXX",
2192
-
redaction: SKyflow.RedactionType.MASKED
2192
+
redaction: Skyflow.RedactionType.MASKED
2193
2193
)
2194
2194
2195
2195
let cardNumberElement = container?.create(input: cardNumberInput)
0 commit comments