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
I think it would be really neat to allow simple boolean attributes to be passed to partials without specifying a value. This is useful for configuration type things.
Current behaviour
Currently, you'll have to pass a value to the parameter to make this work.
I think it would be really neat to allow simple boolean attributes to be passed to partials without specifying a value. This is useful for configuration type things.
Current behaviour
Currently, you'll have to pass a value to the parameter to make this work.
Template
Block partial
Optimized behaviour
It'd be great if attributes without a value would automatically set the value to
true
in the context of the partial. Then this should work.Template
Block partial
The text was updated successfully, but these errors were encountered: