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

数字输入框组件焦点不会检查变更。 #114

Open
xingkoo opened this issue Feb 27, 2024 · 1 comment
Open

数字输入框组件焦点不会检查变更。 #114

xingkoo opened this issue Feb 27, 2024 · 1 comment

Comments

@xingkoo
Copy link

xingkoo commented Feb 27, 2024

重现方法:

const columns = reactive([
  {
    title: "序号",
    dataIndex: "id",
    formType: "input",
    addDisplay: false,
    editDisplay: false,
    hide: true,
    commonRules: {
      required: true,
      message: "请输入序号"
    }
  },
  {
    title: "数字",
    dataIndex: "n",
    formType: "input-number",
    search: true,
    commonRules: {
      required: true,
      message: "请输入数字"
    }
  },
]};

add模式中,当必选时,输入数字后,切换出该组件(失去焦点)应该是没有触发变更检测,还是会提示请输入数字
使用步进加减时,就可以触发变更,满足必选要求。

@xingkoo xingkoo changed the title 数组输入框组件焦点不会检查变更。 数字输入框组件焦点不会检查变更。 Feb 27, 2024
@kanyxmo
Copy link
Member

kanyxmo commented Mar 8, 2024

这个是arco 组件问题,最近刚修复
arco-design/arco-design-vue#2915

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

No branches or pull requests

2 participants