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

fix: React does not recognize the showCount prop on a DOM element. #8856

Merged
merged 3 commits into from
Nov 14, 2024

Conversation

leshalv
Copy link
Contributor

@leshalv leshalv commented Nov 11, 2024

No description provided.

React does not recognize the `showCount` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `showcount` instead. If you accidentally passed it from a parent component, remove it from the DOM element. Error Component Stack
Copy link

github-actions bot commented Nov 11, 2024

⚡️ Deploying PR Preview...

@@ -15,13 +15,13 @@
const FieldTextArea: ProFieldFC<{
text: string;
}> = (props, ref) => {
const { text, mode, render, renderFormItem, fieldProps } = props;
const { text, mode, render, , fieldProps } = props;

Check notice

Code scanning / CodeQL

Syntax error Note

Error: Property destructuring pattern expected.
@chenshuai2144 chenshuai2144 merged commit 143ac69 into ant-design:master Nov 14, 2024
7 of 10 checks passed
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

Successfully merging this pull request may close these issues.

2 participants