From e81fe7edac9cb887042e0035f457cc0e492cd27f Mon Sep 17 00:00:00 2001
From: Dominic <165644294+dominictb@users.noreply.github.com>
Date: Mon, 7 Oct 2024 15:12:44 +0700
Subject: [PATCH] feat: support maxLength prop in web (#505)
---
example/ios/Podfile.lock | 10 +++++-----
example/src/App.tsx | 1 +
src/MarkdownTextInput.web.tsx | 30 ++++++++++++++++++++++--------
3 files changed, 28 insertions(+), 13 deletions(-)
diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock
index 60627abb..830e99b8 100644
--- a/example/ios/Podfile.lock
+++ b/example/ios/Podfile.lock
@@ -1497,7 +1497,7 @@ PODS:
- React-logger (= 0.75.2)
- React-perflogger (= 0.75.2)
- React-utils (= 0.75.2)
- - RNLiveMarkdown (0.1.160):
+ - RNLiveMarkdown (0.1.162):
- DoubleConversion
- glog
- hermes-engine
@@ -1517,9 +1517,9 @@ PODS:
- ReactCodegen
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- - RNLiveMarkdown/newarch (= 0.1.160)
+ - RNLiveMarkdown/newarch (= 0.1.162)
- Yoga
- - RNLiveMarkdown/newarch (0.1.160):
+ - RNLiveMarkdown/newarch (0.1.162):
- DoubleConversion
- glog
- hermes-engine
@@ -1805,9 +1805,9 @@ SPEC CHECKSUMS:
React-utils: 81a715d9c0a2a49047e77a86f3a2247408540deb
ReactCodegen: 60973d382704c793c605b9be0fc7f31cb279442f
ReactCommon: 6ef348087d250257c44c0204461c03f036650e9b
- RNLiveMarkdown: 201e1457f83d07376ae08c918c8ad14e3078d5a0
+ RNLiveMarkdown: 3071652e4e2b5a57cb647cfe5c76c392e58a98b3
SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d
- Yoga: 2a45d7e59592db061217551fd3bbe2dd993817ae
+ Yoga: a1d7895431387402a674fd0d1c04ec85e87909b8
PODFILE CHECKSUM: 9b81b0f7bfba9e6fb4fa10efe8319f7860794e08
diff --git a/example/src/App.tsx b/example/src/App.tsx
index 7e29fee9..d3d63426 100644
--- a/example/src/App.tsx
+++ b/example/src/App.tsx
@@ -49,6 +49,7 @@ export default function App() {
onSelectionChange={e => setSelection(e.nativeEvent.selection)}
selection={selection}
id={TEST_CONST.INPUT_ID}
+ maxLength={30000}
/>
{JSON.stringify(value)}