Skip to content

【重要】[Vue warn]: Failed setting prop "size" on <input>: value 0 is invalid. DOMException: Index or size is negative or greater than the allowed amount #5514

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

Closed
1 task
35871342 opened this issue Apr 18, 2022 · 1 comment
Labels

Comments

@35871342
Copy link

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

Version

3.1.0

Environment

Vue3、Vite、TypeScript

Reproduction link

https://vvbin.cn/next/#/dashboard/analysis

Steps to reproduce

项目开发阶段

What is expected?

期望能解决掉这个警告,size=‘0’为dom不允许,不妨碍使用,但浏览器F12调试的时候,出一堆错误信息,希望能解决掉。

What is actually happening?

[Vue warn]: Failed setting prop "size" on : value 0 is invalid. DOMException: Index or size is negative or greater than the allowed amount
at <ClearableLabeledInput class="components-overview-search" auto-focus="" onUpdate:value=fn ... >
at <AInput ref="inputRef" value="" onUpdate:value=fn ... >
at <ComponentOverview onVnodeUnmounted=fn ref=Ref< undefined > >
at
at <ACol xxxl=20 xxl=20 xl=19 ... >
at
at <Layout onVnodeUnmounted=fn ref=Ref< undefined > >
at
at <ALocaleProvider locale=
Object { locale: "en", Pagination: {…}, DatePicker: {…}, TimePicker: {…}, Calendar: {…}, global: {…}, Table: {…}, Modal: {…}, Popconfirm: {…}, Transfer: {…}, … }
ANT_MARK__="internalMark" >
at <LocaleReceiver children=fn >
at <AConfigProvider locale=
Object { locale: "en", Pagination: {…}, DatePicker: {…}, TimePicker: {…}, Calendar: {…}, global: {…}, Table: {…}, Modal: {…}, Popconfirm: {…}, Transfer: {…}, … }

at



git上下载了antdv的3.1.1的源代码,运行起来后,在浏览器F12查看,确定是antdv产生的问题,希望能解决。

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants