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

IconField: 'iconfield' does not exist in type 'PrimeVuePTOptions' #6206

Closed
dflock opened this issue Aug 8, 2024 · 0 comments · Fixed by #6224
Closed

IconField: 'iconfield' does not exist in type 'PrimeVuePTOptions' #6206

dflock opened this issue Aug 8, 2024 · 0 comments · Fixed by #6224
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@dflock
Copy link
Contributor

dflock commented Aug 8, 2024

Describe the bug

I've used PassTrough to add a class to the IconField component, like this:

  iconfield: {
    root: 'input-group',
  },

... this works fine - but I get a typescript error:

Object literal may only specify known properties, and 'iconfield' does not exist in type 'PrimeVuePTOptions'.ts(2353)
(property) iconfield: {
    root: string;
}

Looking at PrimeVuePTOptions, it's correct, iconfield is missing.

Reproducer

.

PrimeVue version

4.0.4

Vue version

4.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@dflock dflock added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Aug 8, 2024
@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Aug 20, 2024
@tugcekucukoglu tugcekucukoglu added this to the 4.0.5 milestone Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants