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

"placeholder" of a-input is not HMR if a-input is surrounded with other ant component #5264

Open
1 task
ly-sniper opened this issue Feb 18, 2022 · 1 comment

Comments

@ly-sniper
Copy link

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

Version

3.0.0-beta.9

Environment

"vue": "^3.2.25", "vite": "^2.8.0",

Reproduction link

http://nosite.com

Steps to reproduce

<script setup lang="ts">
import { ref } from "vue";
// 1:value必须是Ref类型
const value = ref();
</script>

<template>
  <a-space>
    <!-- 2: a-input必须在ant component内部 -->
    <a-input v-model:value="value" placeholder="1234" />
  </a-space>
</template>

1: 测试页面如上(注释1和注释2必须同时满足)
2:修改a-input的placeholder后保存页面, 无法完成热更新

What is expected?

期望可以实现placeholder的HMR

What is actually happening?

placeholder无法HMR

@github-actions
Copy link

Hello @hayabusa2009. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please send your Pull Request to proper branch, fill the Pull Request Template here, provide changelog/TypeScript/documentation/test cases if needed and make sure CI passed, we will review it soon. We appreciate your effort in advance and looking forward to your contribution!

你好 @hayabusa2009,我们完全同意你的提议/反馈,欢迎直接在此仓库创建一个 Pull Request 来解决这个问题。请将 Pull Request 发到正确的分支,务必填写 Pull Request 内的预设模板,提供改动所需相应的 changelog、TypeScript 定义、测试用例、文档等,并确保 CI 通过,我们会尽快进行 Review,提前感谢和期待您的贡献。

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

2 participants