Skip to content

form error style for input addonAfter slot #6374

@CreateClear

Description

@CreateClear
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

undefined

Environment

win11, chrome@110.0.5481.177, vue@3.2.45

Reproduction link

Edit on CodeSandbox

Steps to reproduce

当表单项禁用时 包含的 #addonAfter 元素依然会出现红框

What is expected?

当表单项被禁用时完全不进行验证

What is actually happening?

当表单项禁用时 包含的 #addonAfter 元素依然会出现红框


除此之外,在useForm模式下,即使表单项被销毁(v-if="false"),依然会触发验证,demo中已复现

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions