0

ZK9 Tabbox Invalidate

asked 2021-07-23 15:22:46 +0800

Flexn gravatar image Flexn
31

updated 2021-07-26 10:50:33 +0800

cor3000 gravatar image cor3000
6280 2 7

Hi ZK Team,

With ZK Version 9.0.5.3 we have a problem concerning the invalidation of Tab. After the currently selected Tab is invalidated, it is no longer selected.

This leads to another issue where if there is a datebox inside the no longer selected tab, the datebox becomes unusable

Here is a zkfiddle for demonstration (I can't post the full link):

https://zkfiddle.org/sample/1epksa/1-Tab-invalidate

Thanks for your help!

delete flag offensive retag edit

Comments

I assume you meant 9.5.0.3 (9.0.5.3 doesn't exist) - in that version I can reproduce the issue described (PS: I added some Karma so you can post links in the future)

cor3000 ( 2021-07-26 10:52:53 +0800 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2021-07-26 11:18:20 +0800

cor3000 gravatar image cor3000
6280 2 7

thanks for posting the issue, a workaround is to restore the selection manually: see updated example: https://zkfiddle.org/sample/1epksa/2-Tab-invalidate-workaround

In many cases calling invalidate() is not needed, property updates will update the client side without invalidation (often it's just a workaround for another problem). Try removing the call to invalidate() maybe the original issue doesn't exist any more.

I posted the issue: ZK-4973 (you can follow the progress there)

link publish delete flag offensive edit
0

answered 2021-07-26 18:14:26 +0800

Flexn gravatar image Flexn
31

Thank you for your very quick reply. As suggested, the invalidate call is no longer required for us.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2021-07-23 15:22:46 +0800

Seen: 10 times

Last updated: Jul 26 '21

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More