amalia/23-okt-25 #1

Merged
amaliadwiy merged 203 commits from amalia/23-okt-25 into join 2025-10-27 11:19:44 +08:00
229 changed files with 8436 additions and 2505 deletions
Showing only changes of commit bb242c9be8 - Show all commits

View File

@@ -43,7 +43,7 @@ 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 }, Platform.OS == 'ios' ? { paddingVertical: 10 } : { paddingVertical: 0 },
]}> ]}>
{itemRight != undefined ? itemRight : itemLeft} {itemRight != undefined ? itemRight : itemLeft}
<TextInput <TextInput
@@ -53,7 +53,7 @@ export function InputForm({ label, value, placeholder, onChange, info, disable,
keyboardType={type} keyboardType={type}
onChangeText={onChange} onChangeText={onChange}
placeholderTextColor={'gray'} placeholderTextColor={'gray'}
style={[Styles.mh05, { width: width ? lebar * width / 100 : lebar * 0.78, color: 'black' }]} style={[Styles.mh05, { width: width ? lebar * width / 100 : lebar * 0.78, color: 'black' }, Platform.OS == 'ios' ? { paddingVertical: 1 } : { paddingVertical: 5 }]}
/> />
</View> </View>
{error && (<Text style={[Styles.textInformation, Styles.cError, Styles.mt05]}>{errorText}</Text>)} {error && (<Text style={[Styles.textInformation, Styles.cError, Styles.mt05]}>{errorText}</Text>)}
@@ -79,7 +79,7 @@ export function InputForm({ label, value, placeholder, onChange, info, disable,
placeholder={placeholder} placeholder={placeholder}
keyboardType={type} keyboardType={type}
editable={!disable} 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} onChangeText={onChange}
placeholderTextColor={'gray'} placeholderTextColor={'gray'}
multiline={multiline} multiline={multiline}