Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] Form组件无法收集Object形式的数据,Icon可以增加一个<MinusOutlined />吗? #809

Open
guyue88 opened this issue Sep 23, 2024 · 0 comments

Comments

@guyue88
Copy link

guyue88 commented Sep 23, 2024

问题出在哪个包

@taroify/core, @taroify/icons

问题出在哪个平台/设备/浏览器

微信小程序

平台/设备/浏览器

小程序

你正在使用的 Taroify 版本是多少

0.4.0

描述一下您遇到的问题以及重现步骤

  1. Form组件,数据收集错误
// 默认数据
{
    team_up: {
        minimum: 1,
        maximum: 2,
    }
}
// 组件引用
<Form.Item name="team_up.minimum"></Form.Item>
// 这种用法,可以正确的拿到初始值,也可以正常的update,但是当submit获取数据的时候,只能拿到  "team_up.minimum": 1 这种 预期拿到跟默认数据一样的对象形式
  1. Icon组件有缺没有,强迫症有点难受,希望增加一个,成双成对的好一点

如果可能的话,请包含一个代码框的链接与复制的问题

No response

你知道如何解决这个问题吗

None

您是否愿意参与修复这个问题,并创建一个 PR

None

修复这个问题的解决方案

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant