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

Multiple Form Components Break Inside TabView #1209

Closed
hudsonmm opened this issue Apr 25, 2021 · 0 comments
Closed

Multiple Form Components Break Inside TabView #1209

hudsonmm opened this issue Apr 25, 2021 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working vue2
Milestone

Comments

@hudsonmm
Copy link

I'm submitting a ... (check one with "x")

[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

Current behavior
When using form components (InputText, Autocomplete) inside a TabView/TabPanel, the form components do not properly work. The value being passed along to the v-model gets corrupted and does not reflect what the user is typing. This works fine under Primevue v2.3.0 but breaks in v2.4.1.

Expected behavior

InputText v-model updates with correct user input.

Minimal reproduction of the problem with instructions

https://jsfiddle.net/3rx91v8y/2/

What is the motivation / use case for changing the behavior?

Multi-part form using tab to group sections.

Please tell us about your environment:

  • Vue version: 3.X

Vue 2.6.12

  • PrimeVue version: 5.X

PrimeVue 2.4.1

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Chrome 89, Firefox 88.1.1

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 vue2
Projects
None yet
Development

No branches or pull requests

3 participants