upd: text input

Deskripsi:
- text input pada android

No Issues
This commit is contained in:
2025-09-26 12:22:12 +08:00
parent 2341a46992
commit 907b56feaf
2 changed files with 4 additions and 7 deletions

View File

@@ -160,7 +160,6 @@ export default function DetailDiscussionGeneral() {
:
<LabelStatus category={data.status == 1 ? 'success' : 'error'} text={data.status == 1 ? 'BUKA' : 'TUTUP'} size="small" />
}
// rightTopInfo={data?.createdAt}
desc={data?.desc}
leftBottomInfo={
<View style={[Styles.rowItemsCenter]}>

View File

@@ -44,7 +44,8 @@ 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 },
Platform.OS == 'ios' ? { paddingVertical: 10 } : { paddingVertical: 0, height: 40 },
{ alignItems: 'center' }
]}>
{itemRight != undefined ? itemRight : itemLeft}
<TextInput
@@ -58,12 +59,9 @@ export function InputForm({ label, value, placeholder, onChange, info, disable,
numberOfLines={3}
style={[
Styles.mh05,
multiline && { height: '100%', paddingTop: 3 },
multiline && { height: '100%', maxHeight: 100 },
{ width: width ? lebar * width / 100 : lebar * 0.78, color: 'black' },
Platform.OS == 'ios' ? { paddingVertical: 1 } : { paddingVertical: 5 },
multiline && {
maxHeight: 100, // batas maksimal
}
Platform.OS == 'ios' ? { paddingVertical: 1, paddingTop: 3 } : { paddingVertical: 0 },
]}
/>
</View>