You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Certain HTML attributes, such as 's "disabled", are supposed to be present for true and missing for false. Does render have any way to dynamically choose whether an attribute is output?
The text was updated successfully, but these errors were encountered:
and use From<(String, String)> and From<(String, bool)> to generate HtmlAttribute — so the following syntax will be supported:
html!{
<button disabled={true}type="button" />
}
# will be almost like
::render::SimpleElement{tag_name:"button",attributes:[HtmlAttribute::from(("disabled",true),HtmlAttribute::from(("type","button"))],children:None}
Certain HTML attributes, such as 's "disabled", are supposed to be present for true and missing for false. Does render have any way to dynamically choose whether an attribute is output?
The text was updated successfully, but these errors were encountered: