Closed WangShayne closed 1 year ago
const form = Form.useForm(); const initialValues = {name: '王滴滴'}; const items = [ { type: 'input', field: 'name', name: 'lable', placeholder: '请输入', }, ]; return ( <SafeAreaView style={{flex: 1}}> <View> <Spacing type="vertical" /> <WingBlank size="small"> <Card title="标题" borderRadius={12}> <Form form={form} schema={items} initialValues={initialValues} /> </Card> </WingBlank> </View> </SafeAreaView> );
已修复,请安装 @uiw/react-native@4.0.7 试一下效果 @WangShayne
@uiw/react-native@4.0.7
@SunLxy 正常了