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

Component: Type error for InputNumber's class #2712

Closed
suntel-nagamine opened this issue Jun 24, 2022 · 0 comments
Closed

Component: Type error for InputNumber's class #2712

suntel-nagamine opened this issue Jun 24, 2022 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@suntel-nagamine
Copy link

Describe the bug

The :class="{'p-invalid': Boolean}" statement results in a type error.
The documentation says that only string can be used.
However, I want to use it with InputNumber.
I'm sorry! My English is poor。

Reproducer

No response

PrimeVue version

3.13.1

Vue version

3.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

Chrome

Steps to reproduce the behavior

No response

Expected behavior

No response

@suntel-nagamine suntel-nagamine added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Jun 24, 2022
@tugcekucukoglu tugcekucukoglu changed the title Component: Type error when p-invalid is specified for InputNumber's class Component: Type error for InputNumber's class Jun 28, 2022
@tugcekucukoglu tugcekucukoglu added this to the 3.15.1 milestone Jun 28, 2022
@tugcekucukoglu tugcekucukoglu self-assigned this Jun 28, 2022
tugcekucukoglu added a commit that referenced this issue Jun 28, 2022
Fixed #2712 - Component: Type error for InputNumber's class
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

No branches or pull requests

2 participants