Skip to content

Conversation

@jcromartie
Copy link

When rendering elements, such as checkboxes, drop-down options, or other inputs, Hiccup will simply omit attributes that are false or nil.

The current state of html renders these attributes like checked="false" which leads to browsers interpreting it as actually being checked.

This commit updates the html function to be more compatible with Hiccup, and allows you to use Hiccup's hiccup.form namespace with Enlive.

John Cromartie and others added 3 commits June 12, 2014 13:33
@fdserr
Copy link
Collaborator

fdserr commented Jul 23, 2015

Thinking and testing needed: impact on existing apps?

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.

3 participants