You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Vue warn]: Failed setting prop "size" on <input>: value 0 is invalid.
Error: Failed to set the 'size' property on 'HTMLInputElement': The value provided is 0, which is an invalid size.
[Vue warn]: Failed setting prop "size" on <input>: value 0 is invalid.
Error: Failed to set the 'size' property on 'HTMLInputElement': The value provided is 0, which is an invalid size.
Warning only occurs with <a-input>. In the case of textarea (from here), <a-input v-model:value="formState.desc" type="textarea" /> will also produce console warning. Using <a-textarea> instead will not.
This occurs in any version > 3.0.
The text was updated successfully, but these errors were encountered:
Version
3.1.0
Environment
[email protected]
,[email protected]
Reproduction link
Steps to reproduce
antd-demo
from antdv.com[email protected]
will remove console warningWhat is expected?
Input component should work without warning.
What is actually happening?
Warning only occurs with
<a-input>
. In the case oftextarea
(from here),<a-input v-model:value="formState.desc" type="textarea" />
will also produce console warning. Using<a-textarea>
instead will not.This occurs in any version > 3.0.
The text was updated successfully, but these errors were encountered: