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
{{ message }}
This repository has been archived by the owner on May 25, 2018. It is now read-only.
With normal HAML, you can disable inputs in the definition by doing: %button{:disabled => disabled ? true : nil}
but in Hamlbars I can't see a way to achieve the same.
I have resorted to <button {{#if disabled}}disabled{{/if}}> which kind of defeats the purpose of using hamlbars - is there any way to achieve this? Part of the problem is browsers intepret disabled="" or disabled="false" as disabled="disabled".
The text was updated successfully, but these errors were encountered:
With normal HAML, you can disable inputs in the definition by doing:
%button{:disabled => disabled ? true : nil}
but in Hamlbars I can't see a way to achieve the same.
I have resorted to
<button {{#if disabled}}disabled{{/if}}>
which kind of defeats the purpose of using hamlbars - is there any way to achieve this? Part of the problem is browsers intepretdisabled=""
ordisabled="false"
asdisabled="disabled"
.The text was updated successfully, but these errors were encountered: