Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] Allow default content on optional f:render
Whenever `f:render` is called and the `optional` flag is set to `TRUE`, rendering a missing section results in an empty output. Instead of rendering this empty output, a new attribute `default` (mixed) is added and can be filled with a fallback-type default value. Alternatively, the tag content can be used to define this default value like so many other content/attribute-flexible ViewHelpers.
- Loading branch information
1 parent
fbf343b
commit cd67f9d
Showing
2 changed files
with
24 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters