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

Show errors as 'title'/hover on input fields #119

Merged
merged 3 commits into from Aug 30, 2012
Merged

Show errors as 'title'/hover on input fields #119

merged 3 commits into from Aug 30, 2012

Conversation

lcorneliussen
Copy link
Contributor

I added an option, implementation and test for showing the errors on hovering the input fields (by setting the input's title attribute)

@ericmbarnard
Copy link
Member

@lcorneliussen

Good stuff - ya, maybe try getting the title attribute off of the element before we execute the attr binding? Possibly store it on the element ( ala data-orig-title="something") ?

If you can do that, I'm glad to merge this in.

 o also maintaining the original title if multiple error messages are applied subsequently
@lcorneliussen
Copy link
Contributor Author

If you can do that, I'm glad to merge this in.

done.

ericmbarnard added a commit that referenced this pull request Aug 30, 2012
Show errors as 'title'/hover on input fields
@ericmbarnard ericmbarnard merged commit 1b9ab60 into Knockout-Contrib:master Aug 30, 2012
@ericmbarnard
Copy link
Member

Boom - thanks @lcorneliussen !

@lcorneliussen
Copy link
Contributor Author

Thanks for pulling!

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

Successfully merging this pull request may close these issues.

2 participants