upd: text input
Deskripsi: - text input pada android No Issues
This commit is contained in:
@@ -160,7 +160,6 @@ export default function DetailDiscussionGeneral() {
|
|||||||
:
|
:
|
||||||
<LabelStatus category={data.status == 1 ? 'success' : 'error'} text={data.status == 1 ? 'BUKA' : 'TUTUP'} size="small" />
|
<LabelStatus category={data.status == 1 ? 'success' : 'error'} text={data.status == 1 ? 'BUKA' : 'TUTUP'} size="small" />
|
||||||
}
|
}
|
||||||
// rightTopInfo={data?.createdAt}
|
|
||||||
desc={data?.desc}
|
desc={data?.desc}
|
||||||
leftBottomInfo={
|
leftBottomInfo={
|
||||||
<View style={[Styles.rowItemsCenter]}>
|
<View style={[Styles.rowItemsCenter]}>
|
||||||
|
|||||||
@@ -44,7 +44,8 @@ export function InputForm({ label, value, placeholder, onChange, info, disable,
|
|||||||
round && Styles.round30,
|
round && Styles.round30,
|
||||||
{ backgroundColor: bg && bg == 'white' ? 'white' : 'transparent' },
|
{ backgroundColor: bg && bg == 'white' ? 'white' : 'transparent' },
|
||||||
error && { borderColor: "red" },
|
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}
|
{itemRight != undefined ? itemRight : itemLeft}
|
||||||
<TextInput
|
<TextInput
|
||||||
@@ -58,12 +59,9 @@ export function InputForm({ label, value, placeholder, onChange, info, disable,
|
|||||||
numberOfLines={3}
|
numberOfLines={3}
|
||||||
style={[
|
style={[
|
||||||
Styles.mh05,
|
Styles.mh05,
|
||||||
multiline && { height: '100%', paddingTop: 3 },
|
multiline && { height: '100%', maxHeight: 100 },
|
||||||
{ width: width ? lebar * width / 100 : lebar * 0.78, color: 'black' },
|
{ width: width ? lebar * width / 100 : lebar * 0.78, color: 'black' },
|
||||||
Platform.OS == 'ios' ? { paddingVertical: 1 } : { paddingVertical: 5 },
|
Platform.OS == 'ios' ? { paddingVertical: 1, paddingTop: 3 } : { paddingVertical: 0 },
|
||||||
multiline && {
|
|
||||||
maxHeight: 100, // batas maksimal
|
|
||||||
}
|
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
Reference in New Issue
Block a user