0

3.5.1 implementation of style change on component focus

asked 2008-10-16 21:09:39 +0800

blandrp gravatar image blandrp
72 2

Many of the components such as Textbox in 3.5.1 now support a -focus style when they receive the focus. It appears that Datebox is also attempting to do this, but instead of changing the style of the actual input element from z-datebox-inp to z-datebox-inp-focus the style of the span around the input element is being changed. Is this a bug or is it working as designed? I expected the actual input element's style to be changed similar to the changing of the style of the input element that represents Textboxes, Decimalboxes, etc.

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2008-10-17 04:24:08 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

Hi,

It isn't a bug, it uses the cascading hierarchy to do it.

For example,

.z-datebox-focus .z-datebox-inp {

}

link publish delete flag offensive edit
Your reply
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

RSS

Stats

Asked: 2008-10-16 21:09:39 +0800

Seen: 208 times

Last updated: Oct 17 '08

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