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

ui-select2 validation tooltip #7

Closed
poweredbyporkers opened this issue Apr 20, 2014 · 1 comment
Closed

ui-select2 validation tooltip #7

poweredbyporkers opened this issue Apr 20, 2014 · 1 comment

Comments

@poweredbyporkers
Copy link

Hi,

When using ui-seelct2 the actual input against which you apply the xt-validate attribute becomes hidden due to this CSS

.select2-offscreen, .select2-offscreen:focus {
    clip: rect(0 0 0 0) !important;
    width: 1px !important;
    height: 1px !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    outline: 0 !important;
    left: 0px !important;
    top: 0px !important;
}

therefore the validation tooltip ends up in the top left hand corner of the screen which isn't all that helpful :-)

So here you see that week commencing is requried but the tooltip is in the upper left hand corner

image

@refactorthis
Copy link
Owner

hmm.. any suggested solution to this problem? if you have a css workaround we could add it to the docs.

refactorthis added a commit that referenced this issue Aug 2, 2014
refactorthis added a commit that referenced this issue Jan 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants