Skip to content

Commit b32159f

Browse files
authored
fix: Disable autocorrect in TextInput within LLM demo app (#279)
## Description ### Type of change - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] Documentation update (improves or adds clarity to existing documentation) ### Tested on - [ ] iOS - [ ] Android ### Testing instructions <!-- Provide step-by-step instructions on how to test your changes. Include setup details if necessary. --> ### Screenshots <!-- Add screenshots here, if applicable --> ### Related issues <!-- Link related issues here using #issue-number --> ### Checklist - [ ] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly - [ ] My changes generate no new warnings ### Additional notes <!-- Include any additional information, assumptions, or context that reviewers might need to understand this PR. -->
1 parent 5241390 commit b32159f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

examples/llm/screens/LLMScreen.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export default function LLMScreen() {
7777

7878
<View style={styles.bottomContainer}>
7979
<TextInput
80+
autoCorrect={false}
8081
onFocus={() => setIsTextInputFocused(true)}
8182
onBlur={() => setIsTextInputFocused(false)}
8283
style={{

examples/llm/screens/LLMToolCallingScreen.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ export default function LLMToolCallingScreen() {
122122

123123
<View style={styles.bottomContainer}>
124124
<TextInput
125+
autoCorrect={false}
125126
onFocus={() => setIsTextInputFocused(true)}
126127
onBlur={() => setIsTextInputFocused(false)}
127128
style={{

0 commit comments

Comments
 (0)