+
Skip to content

SelectFormField jsxdata 支持接收 { key, label } 格式的数据并作为默认格式 #158

@ex90rts

Description

@ex90rts

目前如果通过 jsxdata 传 options 数据给 SelectFormField,只支持 { value, text } 这种格式,但是 rc-select 采用的是 { key, label } 格式,两边不一致导致经常搞混掉,建议 SelectFormField 默认改成 { key, label } 格式,同时文档中的描述也改成这个格式, { value, text } 格式仅仅作为一种兼容格式存在,不再对外透出。

包括对 jsxvalues 传过来的数据的处理。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载