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
|`mask`|`string`| The mask format to be applied to the text input, defining the pattern for formatting. Example: `"[0000] [0000] [0000] [0000]"`. |
136
-
|`customNotations`|`Notation[]`| Array of custom notations for the mask format. Each notation object includes: `character`, `characterSet`, and `isOptional`. |
137
-
|`allowedKeys`|`string`| A string specifying the characters that are permitted for input. |
138
-
|`validationRegex`|`regex string`| A validation regex that runs before applying the mask. |
139
-
|`onChangeText`|`(formatted: string, extracted: string) => void`| Callback function triggered on text change. Receives `formattedValue` (with mask) and `extractedValue` (raw input). |
140
-
|`onTailPlaceholderChange`|`(tailPlaceholder: string) => void`| Callback function called when the tail placeholder changes, receiving the updated `tailPlaceholder` value. |
141
-
|`affinityFormat`|`string[]`| Array of strings for affinity format, used to determine the best mask format based on the input. |
142
-
|`autocomplete`|`boolean`|Enables or disables autocomplete for the text input. Default is `true`|
143
-
|`autoSkip`|`boolean`|Automatically skips to the next input field when the current one is filled. Default is `false`. |
144
-
|`isRTL`|`boolean`| Enables right-to-left (RTL) text direction for the text input. Default is `false`. |
145
-
|`affinityCalculationStrategy`|`AFFINITY_CALCULATION_STRATEGY`| Defines the strategy for affinity calculation, determining how the best mask format is selected based on input. |
146
-
|`customTransformation`|`CustomTransformation`| Custom transformation applied to the text input to define how the input text should be transformed. |
147
-
|`defaultValue`|`string`| The default value for the input field. |
148
-
|`value`|`string`| Current value of the input field, allowing controlled input behavior. |
149
-
|`allowSuggestions`|`boolean` (iOS only) | Enables or disables input suggestions on iOS. Default is `false`. |
150
-
|`autocompleteOnFocus`|`boolean`| Enables autocomplete when the text input is focused. |
151
-
|`placeholder`|`string`| Placeholder text displayed in the input. |
152
-
|`keyboardType`|`string`| Sets the keyboard type. Useful for numeric masks with `keyboardType="numeric"`. |
153
-
|`autoFocus`|`boolean`| If `true`, focuses the input on component load. Default is `false`. |
|`mask`|`string`| The mask format to be applied to the text input, defining the pattern for formatting. Example: `"[0000] [0000] [0000] [0000]"`. |
136
+
|`customNotations`|`Notation[]`| Array of custom notations for the mask format. Each notation object includes: `character`, `characterSet`, and `isOptional`. |
137
+
|`allowedKeys`|`string`| A string specifying the characters that are permitted for input. |
138
+
|`validationRegex`|`regex string`| A validation regex that runs before applying the mask. |
139
+
|`onChangeText`|`(formatted: string, extracted: string) => void`| Callback function triggered on text change. Receives `formattedValue` (with mask) and `extractedValue` (raw input). |
140
+
|`onTailPlaceholderChange`|`(tailPlaceholder: string) => void`| Callback function called when the tail placeholder changes, receiving the updated `tailPlaceholder` value. |
141
+
|`affinityFormat`|`string[]`| Array of strings for affinity format, used to determine the best mask format based on the input. |
142
+
|`autocomplete`|`boolean`|Autocompletion allows predictive insertion of constant characters. Default is `true`|
143
+
|`autoSkip`|`boolean`|Automatic character skipping works as an "anti-autocompletion", erasing the constant characters (see constant blocks and separators) at the end of the line when hitting backspace. Default is `false`.|
144
+
|`isRTL`|`boolean`| Enables right-to-left (RTL) text direction for the text input. Default is `false`. |
145
+
|`affinityCalculationStrategy`|`AFFINITY_CALCULATION_STRATEGY`| Defines the strategy for affinity calculation, determining how the best mask format is selected based on input. |
146
+
|`customTransformation`|`CustomTransformation`| Custom transformation applied to the text input to define how the input text should be transformed. |
147
+
|`defaultValue`|`string`| The default value for the input field. |
148
+
|`value`|`string`| Current value of the input field, allowing controlled input behavior. |
149
+
|`allowSuggestions`|`boolean` (iOS only) | Enables or disables input suggestions on iOS. Default is `false`. |
150
+
|`autocompleteOnFocus`|`boolean`| Enables autocomplete when the text input is focused. |
151
+
|`placeholder`|`string`| Placeholder text displayed in the input. |
152
+
|`keyboardType`|`string`| Sets the keyboard type. Useful for numeric masks with `keyboardType="numeric"`. |
153
+
|`autoFocus`|`boolean`| If `true`, focuses the input on component load. Default is `false`. |
0 commit comments