Skip to content

Commit fba6553

Browse files
Update Test Cases
1 parent e10d8f5 commit fba6553

File tree

1 file changed

+4
-4
lines changed
  • packages/react-native/ReactCommon/react/renderer/components/textinput/platform/ios/react/renderer/components/iostextinput

1 file changed

+4
-4
lines changed

packages/react-native/ReactCommon/react/renderer/components/textinput/platform/ios/react/renderer/components/iostextinput/conversions.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ inline void fromRawValue(
3434
result = AutocapitalizationType::Characters;
3535
return;
3636
}
37-
abort();
37+
result = AutocapitalizationType::None;
3838
}
3939

4040
inline void fromRawValue(
@@ -54,7 +54,7 @@ inline void fromRawValue(
5454
result = KeyboardAppearance::Dark;
5555
return;
5656
}
57-
abort();
57+
result = KeyboardAppearance::Default;
5858
}
5959

6060
inline void fromRawValue(
@@ -146,7 +146,7 @@ inline void fromRawValue(
146146
result = TextInputAccessoryVisibilityMode::Always;
147147
return;
148148
}
149-
abort();
149+
result = TextInputAccessoryVisibilityMode::Never;
150150
}
151151

152152
inline void fromRawValue(
@@ -214,7 +214,7 @@ inline void fromRawValue(
214214
result = KeyboardType::VisiblePassword;
215215
return;
216216
}
217-
abort();
217+
result = KeyboardType::Default;
218218
}
219219

220220
} // namespace facebook::react

0 commit comments

Comments
 (0)