upd: text input komentar

Deskripsi:
- android input komentar pada android

No Issues
This commit is contained in:
2025-09-26 16:52:35 +08:00
parent 14e9bf15c7
commit a6c96105d2
3 changed files with 16 additions and 5 deletions

View File

@@ -44,8 +44,11 @@ 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 } : { paddingVertical: 0, height: 40 },
{ alignItems: 'center' }
Platform.OS == 'ios' ? { paddingVertical: 10 } : { paddingVertical: 0, minHeight: 40 },
{ alignItems: 'center' },
multiline
? { alignItems: "flex-end" } // multiline: tombol send di bawah
: { alignItems: "center" }, // default: tetap di tengah
]}>
{itemRight != undefined ? itemRight : itemLeft}
<TextInput