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
[Tabs] don't support dynamic update #194
Comments
Hi vitaly :) I was exactly thinking of that after your last commit :)) First for easier and faster debugging you can use As a first attempt we can move mounted logic to a method like |
For making this automatic i think Vue had an special even for child change notifications we can listen and call |
Hmm... worth to try, thanks) |
first approach seems to work ))) |
@mosinve Tabs are now automatically updated without need to any function call :) Please just check example at 0.11.1 (things may be cached, if so you can try it on playground too) |
@mosinve Is this issue resolved now? |
oh, forgot to close issue:) |
Figured that our implementation of Tabs works only when tab-items hardcoded in template.
In my project I need to build tabs in a modal dialog according to what dialog is opened. So i need to update tab-items when modal opens.
Spent all day to find solution, thought moving tabs init routine from
mounted()
toupdated()
will solve problem.. at playground it worked, but my proj hangs on opening...So i'm in need of some help ))
The text was updated successfully, but these errors were encountered: