'name' does not exist in type 'FormFieldProps & VNodeProps & AllowedComponentProps & ComponentCustomProps'. #7250
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Describe the bug
My
@primevue/forms
types are missing aname
property for theFormField
component. This looks like it was addressed in commit a7679daMy package version in
package.json
is:@primevue/forms": "^4.2.5
Pull Request Link
No response
Reason for not contributing a PR
Other Reason
There is already a commit that should fix this, it appears that it hasn't been published to the npm registry.
See commit here: a7679da
Reproducer
https://stackblitz.com/edit/primevue-4-vite-issue-template?file=README.md
Environment
I don't see a TypeScript template so i'm linking a blank template.
Vue version
3.5.11
PrimeVue version
4.2.5
Node version
No response
Browser(s)
No response
Steps to reproduce the behavior
Try adding the
name
prop to aFormField
in a TypeScript application.You will see the error
Object literal may only specify known properties, and 'name' does not exist in type 'FormFieldProps & VNodeProps & AllowedComponentProps & ComponentCustomProps'.
Expected behavior
No TypeScript compiler errors.
The text was updated successfully, but these errors were encountered: