diff --git a/docs/textinput.md b/docs/textinput.md index a04ab0f1ff6..3f407a8d168 100644 --- a/docs/textinput.md +++ b/docs/textinput.md @@ -322,6 +322,16 @@ Provides an initial value that will change when the user starts typing. Useful f --- +### `disableKeyboardShortcuts`
iOS
+ +If `true`, the keyboard shortcuts (undo/redo and copy buttons) are disabled. + +| Type | Default | +| ---- | ------- | +| bool | `false` | + +--- + ### `cursorColor`
Android
When provided it will set the color of the cursor (or "caret") in the component. Unlike the behavior of `selectionColor` the cursor color will be set independently from the color of the text selection box. @@ -525,6 +535,26 @@ The following values work on Android only: --- +### `lineBreakStrategyIOS`
iOS
+ +Set line break strategy on iOS 14+. Possible values are `none`, `standard`, `hangul-word` and `push-out`. + +| Type | Default | +| ----------------------------------------------------------- | -------- | +| enum(`'none'`, `'standard'`, `'hangul-word'`, `'push-out'`) | `'none'` | + +--- + +### `lineBreakModeIOS`
iOS
+ +Set line break mode on iOS. Possible values are `wordWrapping`, `char`, `clip`, `head`, `middle` and `tail`. + +| Type | Default | +| -------------------------------------------------------------------------- | ---------------- | +| enum(`'wordWrapping'`, `'char'`, `'clip'`, `'head'`, `'middle'`, `'tail'`) | `'wordWrapping'` | + +--- + ### `maxFontSizeMultiplier` Specifies largest possible scale a font can reach when `allowFontScaling` is enabled. Possible values: @@ -879,6 +909,16 @@ When `false`, it will prevent the soft keyboard from showing when the field is f --- +### `smartInsertDelete`
iOS
+ +If `false`, the iOS system will not insert an extra space after a paste operation neither delete one or two spaces after a cut or delete operation. + +| Type | Default | +| ---- | ------- | +| bool | `true` | + +--- + ### `spellCheck`
iOS
If `false`, disables spell-check style (i.e. red underlines). The default value is inherited from `autoCorrect`. @@ -1060,36 +1100,6 @@ The value to show for the text input. `TextInput` is a controlled component, whi | ------ | | string | ---- - -### `lineBreakStrategyIOS`
iOS
- -Set line break strategy on iOS 14+. Possible values are `none`, `standard`, `hangul-word` and `push-out`. - -| Type | Default | -| ----------------------------------------------------------- | -------- | -| enum(`'none'`, `'standard'`, `'hangul-word'`, `'push-out'`) | `'none'` | - ---- - -### `lineBreakModeIOS`
iOS
- -Set line break mode on iOS. Possible values are `wordWrapping`, `char`, `clip`, `head`, `middle` and `tail`. - -| Type | Default | -| -------------------------------------------------------------------------- | ---------------- | -| enum(`'wordWrapping'`, `'char'`, `'clip'`, `'head'`, `'middle'`, `'tail'`) | `'wordWrapping'` | - ---- - -### `disableKeyboardShortcuts`
iOS
- -If `true`, the keyboard shortcuts (undo/redo and copy buttons) are disabled. The default value is `false`. - -| Type | -| ---- | -| bool | - ## Methods ### `.focus()` diff --git a/website/versioned_docs/version-0.77/textinput.md b/website/versioned_docs/version-0.77/textinput.md index dcb7c1d1942..0b17d801967 100644 --- a/website/versioned_docs/version-0.77/textinput.md +++ b/website/versioned_docs/version-0.77/textinput.md @@ -875,6 +875,16 @@ When `false`, it will prevent the soft keyboard from showing when the field is f --- +### `smartInsertDelete`
iOS
+ +If `false`, the iOS system will not insert an extra space after a paste operation neither delete one or two spaces after a cut or delete operation. + +| Type | Default | +| ---- | ------- | +| bool | `true` | + +--- + ### `spellCheck`
iOS
If `false`, disables spell-check style (i.e. red underlines). The default value is inherited from `autoCorrect`. diff --git a/website/versioned_docs/version-0.78/textinput.md b/website/versioned_docs/version-0.78/textinput.md index dcb7c1d1942..0b17d801967 100644 --- a/website/versioned_docs/version-0.78/textinput.md +++ b/website/versioned_docs/version-0.78/textinput.md @@ -875,6 +875,16 @@ When `false`, it will prevent the soft keyboard from showing when the field is f --- +### `smartInsertDelete`
iOS
+ +If `false`, the iOS system will not insert an extra space after a paste operation neither delete one or two spaces after a cut or delete operation. + +| Type | Default | +| ---- | ------- | +| bool | `true` | + +--- + ### `spellCheck`
iOS
If `false`, disables spell-check style (i.e. red underlines). The default value is inherited from `autoCorrect`. diff --git a/website/versioned_docs/version-0.79/textinput.md b/website/versioned_docs/version-0.79/textinput.md index 317da95c284..8c2424d2e28 100644 --- a/website/versioned_docs/version-0.79/textinput.md +++ b/website/versioned_docs/version-0.79/textinput.md @@ -879,6 +879,16 @@ When `false`, it will prevent the soft keyboard from showing when the field is f --- +### `smartInsertDelete`
iOS
+ +If `false`, the iOS system will not insert an extra space after a paste operation neither delete one or two spaces after a cut or delete operation. + +| Type | Default | +| ---- | ------- | +| bool | `true` | + +--- + ### `spellCheck`
iOS
If `false`, disables spell-check style (i.e. red underlines). The default value is inherited from `autoCorrect`. diff --git a/website/versioned_docs/version-0.80/textinput.md b/website/versioned_docs/version-0.80/textinput.md index 40597b69738..2ee26121400 100644 --- a/website/versioned_docs/version-0.80/textinput.md +++ b/website/versioned_docs/version-0.80/textinput.md @@ -320,6 +320,14 @@ Provides an initial value that will change when the user starts typing. Useful f | ------ | | string | +### `disableKeyboardShortcuts`
iOS
+ +If `true`, the keyboard shortcuts (undo/redo and copy buttons) are disabled. + +| Type | Default | +| ---- | ------- | +| bool | `false` | + --- ### `cursorColor`
Android
@@ -525,6 +533,26 @@ The following values work on Android only: --- +### `lineBreakModeIOS`
iOS
+ +Set line break mode on iOS. Possible values are `wordWrapping`, `char`, `clip`, `head`, `middle` and `tail`. + +| Type | Default | +| -------------------------------------------------------------------------- | ---------------- | +| enum(`'wordWrapping'`, `'char'`, `'clip'`, `'head'`, `'middle'`, `'tail'`) | `'wordWrapping'` | + +--- + +### `lineBreakStrategyIOS`
iOS
+ +Set line break strategy on iOS 14+. Possible values are `none`, `standard`, `hangul-word` and `push-out`. + +| Type | Default | +| ----------------------------------------------------------- | -------- | +| enum(`'none'`, `'standard'`, `'hangul-word'`, `'push-out'`) | `'none'` | + +--- + ### `maxFontSizeMultiplier` Specifies largest possible scale a font can reach when `allowFontScaling` is enabled. Possible values: @@ -879,6 +907,16 @@ When `false`, it will prevent the soft keyboard from showing when the field is f --- +### `smartInsertDelete`
iOS
+ +If `false`, the iOS system will not insert an extra space after a paste operation neither delete one or two spaces after a cut or delete operation. + +| Type | Default | +| ---- | ------- | +| bool | `true` | + +--- + ### `spellCheck`
iOS
If `false`, disables spell-check style (i.e. red underlines). The default value is inherited from `autoCorrect`. @@ -1060,36 +1098,6 @@ The value to show for the text input. `TextInput` is a controlled component, whi | ------ | | string | ---- - -### `lineBreakModeIOS`
iOS
- -Set line break mode on iOS. Possible values are `wordWrapping`, `char`, `clip`, `head`, `middle` and `tail`. - -| Type | Default | -| -------------------------------------------------------------------------- | ---------------- | -| enum(`'wordWrapping'`, `'char'`, `'clip'`, `'head'`, `'middle'`, `'tail'`) | `'wordWrapping'` | - ---- - -### `lineBreakStrategyIOS`
iOS
- -Set line break strategy on iOS 14+. Possible values are `none`, `standard`, `hangul-word` and `push-out`. - -| Type | Default | -| ----------------------------------------------------------- | -------- | -| enum(`'none'`, `'standard'`, `'hangul-word'`, `'push-out'`) | `'none'` | - ---- - -### `disableKeyboardShortcuts`
iOS
- -If `true`, the keyboard shortcuts (undo/redo and copy buttons) are disabled. The default value is `false`. - -| Type | -| ---- | -| bool | - ## Methods ### `.focus()` diff --git a/website/versioned_docs/version-0.81/textinput.md b/website/versioned_docs/version-0.81/textinput.md index e605a5e330d..8c2d0c1c413 100644 --- a/website/versioned_docs/version-0.81/textinput.md +++ b/website/versioned_docs/version-0.81/textinput.md @@ -879,6 +879,16 @@ When `false`, it will prevent the soft keyboard from showing when the field is f --- +### `smartInsertDelete`
iOS
+ +If `false`, the iOS system will not insert an extra space after a paste operation neither delete one or two spaces after a cut or delete operation. + +| Type | Default | +| ---- | ------- | +| bool | `true` | + +--- + ### `spellCheck`
iOS
If `false`, disables spell-check style (i.e. red underlines). The default value is inherited from `autoCorrect`.