Skip to content

[form] form组件表单校验可以通过返回string来显示不同的错误校验么 #883

Description

@drining

这个功能解决了什么问题

请问form表单中可以实现单个项的表单校验可以返回list实现不同的错误提示,或者validate可以通过返回不同的String来显示不同的表单校验么

你建议的方案是什么

可以通过不同的条件分支,返回不同的表单校验错误提示

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions