uiwjs / react-native-uiw

A UI component library based on React Native (Android & iOS).
https://uimjs.github.io
MIT License
45 stars 26 forks source link

Form组件在android 不显示 #624

Closed WangShayne closed 1 year ago

WangShayne commented 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>
  );

image

SunLxy commented 1 year ago

已修复,请安装 @uiw/react-native@4.0.7 试一下效果 @WangShayne

WangShayne commented 1 year ago

@SunLxy 正常了