fix: Numbers and punctuation for all coords-entries
Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
parent
9a61975377
commit
248e8b83e3
2 changed files with 7 additions and 7 deletions
|
@ -131,7 +131,7 @@ export default function CoordinateConverter() {
|
||||||
<Text style={styles.coordInputLabel}>X:</Text>
|
<Text style={styles.coordInputLabel}>X:</Text>
|
||||||
<TextInput
|
<TextInput
|
||||||
style={styles.coordTextInput}
|
style={styles.coordTextInput}
|
||||||
keyboardType="numeric"
|
keyboardType="numbers-and-punctuation"
|
||||||
placeholder="0"
|
placeholder="0"
|
||||||
placeholderTextColor="#ccc"
|
placeholderTextColor="#ccc"
|
||||||
value={overworldX}
|
value={overworldX}
|
||||||
|
@ -142,7 +142,7 @@ export default function CoordinateConverter() {
|
||||||
<Text style={styles.coordInputLabel}>Z:</Text>
|
<Text style={styles.coordInputLabel}>Z:</Text>
|
||||||
<TextInput
|
<TextInput
|
||||||
style={styles.coordTextInput}
|
style={styles.coordTextInput}
|
||||||
keyboardType="numeric"
|
keyboardType="numbers-and-punctuation"
|
||||||
placeholder="0"
|
placeholder="0"
|
||||||
placeholderTextColor="#ccc"
|
placeholderTextColor="#ccc"
|
||||||
value={overworldZ}
|
value={overworldZ}
|
||||||
|
@ -160,7 +160,7 @@ export default function CoordinateConverter() {
|
||||||
<Text style={styles.coordInputLabel}>X:</Text>
|
<Text style={styles.coordInputLabel}>X:</Text>
|
||||||
<TextInput
|
<TextInput
|
||||||
style={styles.coordTextInput}
|
style={styles.coordTextInput}
|
||||||
keyboardType="numeric"
|
keyboardType="numbers-and-punctuation"
|
||||||
placeholder="0"
|
placeholder="0"
|
||||||
placeholderTextColor="#ccc"
|
placeholderTextColor="#ccc"
|
||||||
value={netherX}
|
value={netherX}
|
||||||
|
@ -171,7 +171,7 @@ export default function CoordinateConverter() {
|
||||||
<Text style={styles.coordInputLabel}>Z:</Text>
|
<Text style={styles.coordInputLabel}>Z:</Text>
|
||||||
<TextInput
|
<TextInput
|
||||||
style={styles.coordTextInput}
|
style={styles.coordTextInput}
|
||||||
keyboardType="numeric"
|
keyboardType="numbers-and-punctuation"
|
||||||
placeholder="0"
|
placeholder="0"
|
||||||
placeholderTextColor="#ccc"
|
placeholderTextColor="#ccc"
|
||||||
value={netherZ}
|
value={netherZ}
|
||||||
|
|
|
@ -197,7 +197,7 @@ export default function CoordinateConverter() {
|
||||||
style={styles.coordinateValueInput}
|
style={styles.coordinateValueInput}
|
||||||
placeholder="X"
|
placeholder="X"
|
||||||
placeholderTextColor="#999"
|
placeholderTextColor="#999"
|
||||||
keyboardType="default"
|
keyboardType="numbers-and-punctuation"
|
||||||
value={xCoord}
|
value={xCoord}
|
||||||
onChangeText={setXCoord}
|
onChangeText={setXCoord}
|
||||||
returnKeyType="done"
|
returnKeyType="done"
|
||||||
|
@ -206,7 +206,7 @@ export default function CoordinateConverter() {
|
||||||
style={styles.coordinateValueInput}
|
style={styles.coordinateValueInput}
|
||||||
placeholder="Y"
|
placeholder="Y"
|
||||||
placeholderTextColor="#999"
|
placeholderTextColor="#999"
|
||||||
keyboardType="default"
|
keyboardType="numbers-and-punctuation"
|
||||||
value={yCoord}
|
value={yCoord}
|
||||||
onChangeText={setYCoord}
|
onChangeText={setYCoord}
|
||||||
returnKeyType="done"
|
returnKeyType="done"
|
||||||
|
@ -215,7 +215,7 @@ export default function CoordinateConverter() {
|
||||||
style={styles.coordinateValueInput}
|
style={styles.coordinateValueInput}
|
||||||
placeholder="Z"
|
placeholder="Z"
|
||||||
placeholderTextColor="#999"
|
placeholderTextColor="#999"
|
||||||
keyboardType="default"
|
keyboardType="numbers-and-punctuation"
|
||||||
value={zCoord}
|
value={zCoord}
|
||||||
onChangeText={setZCoord}
|
onChangeText={setZCoord}
|
||||||
returnKeyType="done"
|
returnKeyType="done"
|
||||||
|
|
Loading…
Add table
Reference in a new issue