For use in form inputs. If the supplied value is truthy, add the "disabled" property, otherwise add nothing.
A value with a truthiness indicative of whether the input is disabled
<button type="submit" {{disabled myValue}}>Submit</button> Copy
<button type="submit" {{disabled myValue}}>Submit</button>
For use in form inputs. If the supplied value is truthy, add the "disabled" property, otherwise add nothing.