From 68a38f4bc6a30425181bb22ea8fad3d399c64da0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateo=20Guzm=C3=A1n?= Date: Tue, 11 Mar 2025 17:29:12 +0100 Subject: [PATCH 1/2] TextInput: document inputAccessoryViewButtonLabel prop --- docs/textinput.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/textinput.md b/docs/textinput.md index dedef925549..17a043ed4b2 100644 --- a/docs/textinput.md +++ b/docs/textinput.md @@ -438,6 +438,18 @@ An optional identifier which links a custom [InputAccessoryView](inputaccessoryv --- +### `inputAccessoryViewButtonLabel`
iOS
+ +An optional label that overrides the default [InputAccessoryView](inputaccessoryview.md) button label. + +By default, the default button label is not localized. Use this property to provide a localized version. + +| Type | +| ------ | +| string | + +--- + ### `inputMode` Works like the `inputmode` attribute in HTML, it determines which keyboard to open, e.g. `numeric` and has precedence over `keyboardType`. From 2243505da62ef078ebaacbfbad747e93e0bed589 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateo=20Guzm=C3=A1n?= Date: Wed, 12 Mar 2025 09:12:42 +0100 Subject: [PATCH 2/2] Copy inputAccessoryViewButtonLabel documentation also for 0.77 and 0.78 --- website/versioned_docs/version-0.77/textinput.md | 12 ++++++++++++ website/versioned_docs/version-0.78/textinput.md | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/website/versioned_docs/version-0.77/textinput.md b/website/versioned_docs/version-0.77/textinput.md index dedef925549..17a043ed4b2 100644 --- a/website/versioned_docs/version-0.77/textinput.md +++ b/website/versioned_docs/version-0.77/textinput.md @@ -438,6 +438,18 @@ An optional identifier which links a custom [InputAccessoryView](inputaccessoryv --- +### `inputAccessoryViewButtonLabel`
iOS
+ +An optional label that overrides the default [InputAccessoryView](inputaccessoryview.md) button label. + +By default, the default button label is not localized. Use this property to provide a localized version. + +| Type | +| ------ | +| string | + +--- + ### `inputMode` Works like the `inputmode` attribute in HTML, it determines which keyboard to open, e.g. `numeric` and has precedence over `keyboardType`. diff --git a/website/versioned_docs/version-0.78/textinput.md b/website/versioned_docs/version-0.78/textinput.md index dedef925549..17a043ed4b2 100644 --- a/website/versioned_docs/version-0.78/textinput.md +++ b/website/versioned_docs/version-0.78/textinput.md @@ -438,6 +438,18 @@ An optional identifier which links a custom [InputAccessoryView](inputaccessoryv --- +### `inputAccessoryViewButtonLabel`
iOS
+ +An optional label that overrides the default [InputAccessoryView](inputaccessoryview.md) button label. + +By default, the default button label is not localized. Use this property to provide a localized version. + +| Type | +| ------ | +| string | + +--- + ### `inputMode` Works like the `inputmode` attribute in HTML, it determines which keyboard to open, e.g. `numeric` and has precedence over `keyboardType`.