diff --git a/screens/moves/MoveFormScreen.tsx b/screens/moves/MoveFormScreen.tsx
index a99d10d..576ffe6 100644
--- a/screens/moves/MoveFormScreen.tsx
+++ b/screens/moves/MoveFormScreen.tsx
@@ -102,14 +102,22 @@ const MoveFormScreen = ({ navigation, route }: Props) => {
Power:
setMove({ ...move, power: Number(text) })}
+ onChangeText={(text) => {
+ if (!isNaN(Number(text))) {
+ setMove({ ...move, power: Number(text) });
+ }
+ }}
style={styles.input}
keyboardType="numeric"
/>
Accuracy:
setMove({ ...move, accuracy: Number(text) })}
+ onChangeText={(text) => {
+ if (!isNaN(Number(text))) {
+ setMove({ ...move, accuracy: Number(text) });
+ }
+ }}
style={styles.input}
keyboardType="numeric"
/>