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

Options: only set selected attribute when its true #49

Merged
merged 1 commit into from
Dec 16, 2016

Conversation

swalkinshaw
Copy link
Contributor

Re-do of #36

The selected attribute for an option element was always being set to
either true or false. This breaks the selected attribute rendering
(at least in Chrome). Only one option should ever have the selected attribute.
@swalkinshaw
Copy link
Contributor Author

@iku000888 I had to re-do this since I had deleted my fork. I've included the README update in here.

Since there's no existing tests I won't be adding any for this since I haven't written clojure in almost 2 years :)

@iku000888
Copy link
Collaborator

Thank you so much for taking the extra effort!
I will take care of the tests ;)

(Prob. not a bad idea to come back to Clojure land, just saying... Hehe)

@swalkinshaw swalkinshaw deleted the fix-selected-attribute-on-options branch December 16, 2016 18:22
@iku000888 iku000888 added this to the 0.8.10 milestone Dec 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants