From bb242c9be87229029e78ad48dae7d44c17ab3737 Mon Sep 17 00:00:00 2001 From: amaliadwiy Date: Wed, 27 Aug 2025 15:50:32 +0800 Subject: [PATCH] upd: tampilan android Deskripsi: - padding input pada tampilan android No Issues --- components/inputForm.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/inputForm.tsx b/components/inputForm.tsx index 7ce6451..35573d1 100644 --- a/components/inputForm.tsx +++ b/components/inputForm.tsx @@ -43,7 +43,7 @@ export function InputForm({ label, value, placeholder, onChange, info, disable, round && Styles.round30, { backgroundColor: bg && bg == 'white' ? 'white' : 'transparent' }, error && { borderColor: "red" }, - Platform.OS == 'ios' && { paddingVertical: 10 }, + Platform.OS == 'ios' ? { paddingVertical: 10 } : { paddingVertical: 0 }, ]}> {itemRight != undefined ? itemRight : itemLeft} {error && ({errorText})} @@ -79,7 +79,7 @@ export function InputForm({ label, value, placeholder, onChange, info, disable, placeholder={placeholder} keyboardType={type} editable={!disable} - style={[Styles.inputRoundForm, error && { borderColor: "red" }, round && Styles.round30, { backgroundColor: bg && bg == 'white' ? 'white' : 'transparent' }, { color: 'black' }, multiline && { height: 150, textAlignVertical: 'top' }]} + style={[Styles.inputRoundForm, Platform.OS == 'ios' ? { paddingVertical: 11 } : { paddingVertical: 6 }, error && { borderColor: "red" }, round && Styles.round30, { backgroundColor: bg && bg == 'white' ? 'white' : 'transparent' }, { color: 'black' }, multiline && { height: 150, textAlignVertical: 'top' }]} onChangeText={onChange} placeholderTextColor={'gray'} multiline={multiline}