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

Error in console when Password component get prop "inputClass" with Object type #2487

Closed
Vladjmg opened this issue Apr 23, 2022 · 0 comments
Closed
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@Vladjmg
Copy link
Contributor

Vladjmg commented Apr 23, 2022

I'm submitting a ...

[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primevue/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=110

CodeSandbox Case (Bug Reports)
https://codesandbox.io/s/relaxed-meadow-0rht8d?file=/src/App.vue
Watch on console errors when typing

Current behavior
Invalid prop: type check failed for prop "inputClass". Expected String with value "[object Object]", got Object

Expected behavior
Pass objects without errors (like inputStyle)

Minimal reproduction of the problem with instructions
Make Password component and pass object prop in "inputClass"

  • Vue version: 3.2.32

  • PrimeVue version: 3.12.4

  • Browser: [all]

@tugcekucukoglu tugcekucukoglu added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Apr 25, 2022
@tugcekucukoglu tugcekucukoglu added this to the 3.12.6 milestone Apr 25, 2022
@tugcekucukoglu tugcekucukoglu self-assigned this Apr 25, 2022
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