Skip to content

Commit 2e77f22

Browse files
anupriya13acoates-ms
authored andcommitted
[Fabric] Implement SpellCheck and AutoCorrect for TextInput (microsoft#14509)
1 parent 95d6123 commit 2e77f22

File tree

8 files changed

+272
-149
lines changed

8 files changed

+272
-149
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "prerelease",
3+
"comment": "Implement SpellCheck and AutoCorrect for TextInput",
4+
"packageName": "react-native-windows",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}

packages/@react-native-windows/tester/src/js/examples-win/LegacyTests/TextInputTestPage.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ export class TextInputTestPage extends React.Component<
6262
style={{height: 80}}
6363
placeholder="MultiLine"
6464
multiline={true}
65+
spellCheck={false}
66+
autoCorrect={false}
6567
/>
6668
<TextInput
6769
testID="auto-caps-textinput-field"

packages/e2e-test-app-fabric/test/__snapshots__/snapshotPages.test.js.snap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30301,8 +30301,10 @@ exports[`snapshotAllPages LegacyTextInputTest 1`] = `
3030130301
testID="textinput-field"
3030230302
/>
3030330303
<TextInput
30304+
autoCorrect={false}
3030430305
multiline={true}
3030530306
placeholder="MultiLine"
30307+
spellCheck={false}
3030630308
style={
3030730309
{
3030830310
"height": 80,

0 commit comments

Comments
 (0)